Define custom GDB "pio_reset_run_target" function

This commit is contained in:
Ivan Kravets
2019-11-13 16:09:16 +02:00
parent f2f32857f6
commit 7e23bf8569
+6 -6
View File
@@ -102,16 +102,16 @@ class Espressif32Platform(PlatformBase):
"init_break": "thb app_main",
"init_cmds": [
"define pio_reset_halt_target",
" mon reset halt",
" monitor reset halt",
" flushregs",
"end",
"define pio_reset_target",
" mon reset",
"define pio_reset_run_target",
" monitor reset",
"end",
"target extended-remote $DEBUG_PORT",
"$INIT_BREAK",
"$LOAD_CMD",
"pio_reset_halt_target"
"$LOAD_CMDS",
"pio_reset_halt_target",
"$INIT_BREAK"
],
"onboard": link in debug.get("onboard_tools", []),
"default": link == debug.get("default_tool")