Browse Source

debug: example for debugging

master
Franz Levin 5 years ago
parent
commit
21b4e19311
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      projects/bikecomputer/debug.sh

+ 6
- 0
projects/bikecomputer/debug.sh View File

@ -0,0 +1,6 @@
echo 'sudo openocd -f interface/stlink-v2.cfg -f target/nrf52.cfg -c "init" -c "reset halt" -c "reset run"'
echo 'arm-none-eabi-gdb _build/firmware-nrf52.out -ex "target remote localhost:3333"'
echo "to reset:"
echo "nc localhost 4444"
echo "> reset"

Loading…
Cancel
Save