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 6dbc7b7 commit 212ee1cCopy full SHA for 212ee1c
builder/main.py
@@ -320,6 +320,10 @@ def __configure_upload_port(env):
320
openocd_args.extend(
321
["-c", "adapter speed %s" % env.GetProjectOption("debug_speed")]
322
)
323
+ if env.GetProjectOption("upload_resetmethod", ""):
324
+ openocd_args.extend(
325
+ ["-c", "reset_config %s" % env.GetProjectOption("upload_resetmethod")]
326
+ )
327
openocd_args.extend([
328
"-c", "program {$SOURCE} %s verify reset; shutdown;" %
329
board.get("upload.offset_address", "")
0 commit comments