Makefile: Shortcut to help update the bootloader using BMP

This commit is contained in:
Daniel Thompson 2020-01-28 21:25:17 +00:00
parent 35fa791893
commit 0016ad4be7

View file

@ -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