summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-01-20 08:06:16 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-01-20 08:09:28 (GMT)
commit5b016dcb4e936595069335a875e27f0f00630afd (patch)
treefa45f18761c2c8b50770fdc4bd88033cafa3dccf /Makefile
parent6e9cff06d559633c40eb2ae95a80e4250ff91c38 (diff)
Makefile: Try an experimental bootloader dist package
This doesn't work for OTA at present.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e472cf8..203ada4 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,10 @@ submodules :
bootloader:
$(MAKE) -C bootloader/ BOARD=$(BOARD)_nrf52832 all genhex
+ 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.zip
python3 tools/hexmerge.py \
bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.hex \
bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \