summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6b94687..df9afcf 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,10 @@ bootloader:
-o bootloader.hex
python3 tools/hex2c.py bootloader.hex > \
reloader/src/boards/$(BOARD)/bootloader.h
+ python3 -m nordicsemi dfu genpkg \
+ --bootloader bootloader/_build-$(BOARD)_nrf52832//$(BOARD)_nrf52832_bootloader-*-nosd.hex \
+ --softdevice bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \
+ bootloader-daflasher.zip
reloader: bootloader
$(MAKE) -C reloader/ BOARD=$(BOARD)