meshtastic-firmware/gdbinit

20 wiersze
563 B
Plaintext
Czysty Zwykły widok Historia

2020-05-25 22:56:06 +00:00
# Setup Monitor Mode Debugging
# Per .platformio/packages/framework-arduinoadafruitnrf52-old/cores/nRF5/linker/nrf52840_s140_v6.ld
# our appload starts at 0x26000
# Disable for now because our version on board doesn't support monitor mode debugging
# mon exec SetMonModeDebug=1
# mon exec SetMonModeVTableAddr=0x26000
2020-06-05 18:00:18 +00:00
# echo setting RTTAddr
# eval "monitor exec SetRTTAddr %p", &_SEGGER_RTT
2020-05-26 22:55:36 +00:00
# the jlink debugger seems to want a pause after reset before we tell it to start running
define restart
2020-05-26 22:55:36 +00:00
echo Restarting
monitor reset
shell sleep 1
cont
end
2020-05-26 22:55:36 +00:00