Allow to pass multiple load commands to PIO Unified Debugger

This commit is contained in:
Ivan Kravets
2019-05-31 14:45:48 +03:00
parent 5f9fd9260e
commit bae21f1cdd
5 changed files with 27 additions and 22 deletions

View File

@@ -24,7 +24,7 @@ end
target extended-remote $DEBUG_PORT
$INIT_BREAK
pio_reset_halt_target
$LOAD_CMD
$LOAD_CMDS
monitor init
pio_reset_halt_target
"""
@@ -42,7 +42,7 @@ end
target extended-remote $DEBUG_PORT
$INIT_BREAK
pio_reset_halt_target
$LOAD_CMD
$LOAD_CMDS
pio_reset_halt_target
"""
@@ -59,7 +59,7 @@ end
target extended-remote $DEBUG_PORT
$INIT_BREAK
pio_reset_halt_target
$LOAD_CMD
$LOAD_CMDS
pio_reset_halt_target
"""
@@ -83,7 +83,7 @@ monitor swdp_scan
attach 1
set mem inaccessible-by-default off
$INIT_BREAK
$LOAD_CMD
$LOAD_CMDS
set language c
set *0xE000ED0C = 0x05FA0004
@@ -104,6 +104,6 @@ end
target extended-remote $DEBUG_PORT
$INIT_BREAK
monitor erase
$LOAD_CMD
$LOAD_CMDS
pio_reset_halt_target
"""