From b45261c3dc66e7089e016ebad1121f72fe7ffb80 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 2 Nov 2019 22:56:11 +0200 Subject: [PATCH] Change initial debug configuration to: reset/halt, load, init break points --- platformio/commands/debug/initcfgs.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/platformio/commands/debug/initcfgs.py b/platformio/commands/debug/initcfgs.py index 9b70babe..e80b8604 100644 --- a/platformio/commands/debug/initcfgs.py +++ b/platformio/commands/debug/initcfgs.py @@ -22,11 +22,10 @@ define pio_reset_target end target extended-remote $DEBUG_PORT -$INIT_BREAK -pio_reset_halt_target -$LOAD_CMDS monitor init pio_reset_halt_target +$LOAD_CMDS +$INIT_BREAK """ GDB_STUTIL_INIT_CONFIG = """ @@ -57,9 +56,9 @@ define pio_reset_target end target extended-remote $DEBUG_PORT -$INIT_BREAK pio_reset_halt_target $LOAD_CMDS +$INIT_BREAK """ GDB_BLACKMAGIC_INIT_CONFIG = """ @@ -81,8 +80,8 @@ target extended-remote $DEBUG_PORT monitor swdp_scan attach 1 set mem inaccessible-by-default off -$INIT_BREAK $LOAD_CMDS +$INIT_BREAK set language c set *0xE000ED0C = 0x05FA0004 @@ -101,10 +100,10 @@ define pio_reset_target end target extended-remote $DEBUG_PORT -$INIT_BREAK monitor erase -$LOAD_CMDS pio_reset_halt_target +$LOAD_CMDS +$INIT_BREAK """ GDB_QEMU_INIT_CONFIG = """ @@ -117,7 +116,7 @@ define pio_reset_target end target extended-remote $DEBUG_PORT -$INIT_BREAK -$LOAD_CMDS pio_reset_halt_target +$LOAD_CMDS +$INIT_BREAK """