We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
upload_resetmethod
1 parent 5ee07da commit 8033b0aCopy full SHA for 8033b0a
builder/main.py
@@ -310,6 +310,10 @@ def __configure_upload_port(env):
310
openocd_args.extend(
311
["-c", "adapter speed %s" % env.GetProjectOption("debug_speed")]
312
)
313
+ if env.GetProjectOption("upload_resetmethod", ""):
314
+ openocd_args.extend(
315
+ ["-c", "reset_config %s" % env.GetProjectOption("upload_resetmethod")]
316
+ )
317
openocd_args.extend([
318
"-c", "program {$SOURCE} %s verify reset; shutdown;" %
319
board.get("upload.offset_address", "")
0 commit comments