mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
make a gdb "restart" command that allows restarting without rebuilding
This commit is contained in:
parent
2982e197e0
commit
074ac33b8a
6
gdbinit
Normal file
6
gdbinit
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# the jlink debugger seems to want a pause after reset before we tell it to start running
|
||||||
|
define restart
|
||||||
|
monitor reset
|
||||||
|
shell sleep 1
|
||||||
|
cont
|
||||||
|
end
|
@ -141,7 +141,11 @@ lib_deps =
|
|||||||
https://github.com/meshtastic/BQ25703A.git
|
https://github.com/meshtastic/BQ25703A.git
|
||||||
monitor_port = /dev/ttyACM1
|
monitor_port = /dev/ttyACM1
|
||||||
|
|
||||||
|
debug_extra_cmds =
|
||||||
|
source gdbinit
|
||||||
|
|
||||||
; Set initial breakpoint (defaults to main)
|
; Set initial breakpoint (defaults to main)
|
||||||
debug_init_break =
|
debug_init_break =
|
||||||
;debug_init_break = tbreak loop
|
;debug_init_break = tbreak loop
|
||||||
;debug_init_break = tbreak Reset_Handler
|
;debug_init_break = tbreak Reset_Handler
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user