From 5b016dcb4e936595069335a875e27f0f00630afd Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Mon, 20 Jan 2020 08:06:16 +0000 Subject: [PATCH] Makefile: Try an experimental bootloader dist package This doesn't work for OTA at present. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 \