diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-28 21:25:17 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-28 21:25:17 (GMT) |
| commit | 0016ad4be7b7a5027bd217d6b12ee2f1669c6a5a (patch) | |
| tree | 230a92c60e4d84d69f63898eb881721f614757d1 /Makefile | |
| parent | 35fa79189317b2b6c49a7478e6af3a41c660f08b (diff) | |
Makefile: Shortcut to help update the bootloader using BMP
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -44,5 +44,13 @@ flash: pyocd erase -t nrf52 --mass-erase pyocd flash -t nrf52 bootloader.hex +debug: + arm-none-eabi-gdb \ + bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.out \ + -ex "target extended-remote /dev/ttyACM0" \ + -ex "monitor swdp_scan" \ + -ex "attach 1" \ + -ex "load" + .PHONY: bootloader micropython |
