mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix initial debug configuration for J-Link
This commit is contained in:
@ -39,16 +39,15 @@ define pio_reset_target
|
|||||||
end
|
end
|
||||||
|
|
||||||
target extended-remote $DEBUG_PORT
|
target extended-remote $DEBUG_PORT
|
||||||
$INIT_BREAK
|
|
||||||
pio_reset_halt_target
|
pio_reset_halt_target
|
||||||
$LOAD_CMDS
|
$LOAD_CMDS
|
||||||
pio_reset_halt_target
|
$INIT_BREAK
|
||||||
"""
|
"""
|
||||||
|
|
||||||
GDB_JLINK_INIT_CONFIG = """
|
GDB_JLINK_INIT_CONFIG = """
|
||||||
define pio_reset_halt_target
|
define pio_reset_halt_target
|
||||||
monitor halt
|
|
||||||
monitor reset
|
monitor reset
|
||||||
|
monitor halt
|
||||||
end
|
end
|
||||||
|
|
||||||
define pio_reset_target
|
define pio_reset_target
|
||||||
@ -56,6 +55,8 @@ define pio_reset_target
|
|||||||
end
|
end
|
||||||
|
|
||||||
target extended-remote $DEBUG_PORT
|
target extended-remote $DEBUG_PORT
|
||||||
|
monitor clrbp
|
||||||
|
monitor speed auto
|
||||||
pio_reset_halt_target
|
pio_reset_halt_target
|
||||||
$LOAD_CMDS
|
$LOAD_CMDS
|
||||||
$INIT_BREAK
|
$INIT_BREAK
|
||||||
|
Reference in New Issue
Block a user