Makefile: Add shortcut to download the softdevice binary
This commit is contained in:
parent
5b016dcb4e
commit
64f1015a8d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -24,6 +24,9 @@ bootloader:
|
||||||
bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \
|
bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \
|
||||||
-o bootloader.hex
|
-o bootloader.hex
|
||||||
|
|
||||||
|
softdevice:
|
||||||
|
micropython/ports/nrf/drivers/bluetooth/download_ble_stack.sh
|
||||||
|
|
||||||
micropython:
|
micropython:
|
||||||
$(MAKE) -C micropython/mpy-cross
|
$(MAKE) -C micropython/mpy-cross
|
||||||
$(MAKE) -C micropython/ports/nrf BOARD=$(BOARD) SD=s132
|
$(MAKE) -C micropython/ports/nrf BOARD=$(BOARD) SD=s132
|
||||||
|
@ -31,7 +34,7 @@ micropython:
|
||||||
--dev-type 0x0052 \
|
--dev-type 0x0052 \
|
||||||
--application micropython/ports/nrf/build-$(BOARD)-s132/firmware.hex \
|
--application micropython/ports/nrf/build-$(BOARD)-s132/firmware.hex \
|
||||||
micropython.zip
|
micropython.zip
|
||||||
|
|
||||||
dfu:
|
dfu:
|
||||||
python3 -m nordicsemi dfu serial --package micropython.zip --port /dev/ttyACM0
|
python3 -m nordicsemi dfu serial --package micropython.zip --port /dev/ttyACM0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue