Skip to content

Commit 7e23bf8

Browse files
committed
Define custom GDB "pio_reset_run_target" function
1 parent f2f3285 commit 7e23bf8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

platform.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,16 @@ def _add_dynamic_options(self, board):
102102
"init_break": "thb app_main",
103103
"init_cmds": [
104104
"define pio_reset_halt_target",
105-
" mon reset halt",
105+
" monitor reset halt",
106106
" flushregs",
107107
"end",
108-
"define pio_reset_target",
109-
" mon reset",
108+
"define pio_reset_run_target",
109+
" monitor reset",
110110
"end",
111111
"target extended-remote $DEBUG_PORT",
112-
"$INIT_BREAK",
113-
"$LOAD_CMD",
114-
"pio_reset_halt_target"
112+
"$LOAD_CMDS",
113+
"pio_reset_halt_target",
114+
"$INIT_BREAK"
115115
],
116116
"onboard": link in debug.get("onboard_tools", []),
117117
"default": link == debug.get("default_tool")

0 commit comments

Comments
 (0)