diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-20 08:07:35 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-20 08:09:28 (GMT) |
| commit | 64f1015a8d1706ee5a144a66b9616231157f4b3f (patch) | |
| tree | fccfdc44fb5f4056d0b37026fd63812eeccbe2f5 /Makefile | |
| parent | 5b016dcb4e936595069335a875e27f0f00630afd (diff) | |
Makefile: Add shortcut to download the softdevice binary
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,6 +24,9 @@ bootloader: bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \ -o bootloader.hex +softdevice: + micropython/ports/nrf/drivers/bluetooth/download_ble_stack.sh + micropython: $(MAKE) -C micropython/mpy-cross $(MAKE) -C micropython/ports/nrf BOARD=$(BOARD) SD=s132 @@ -31,7 +34,7 @@ micropython: --dev-type 0x0052 \ --application micropython/ports/nrf/build-$(BOARD)-s132/firmware.hex \ micropython.zip - + dfu: python3 -m nordicsemi dfu serial --package micropython.zip --port /dev/ttyACM0 |
