Makefile: Shortcut to help update the bootloader using BMP
This commit is contained in:
parent
35fa791893
commit
0016ad4be7
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue