1
0
Fork 0

Makefile: Try an experimental bootloader dist package

This doesn't work for OTA at present.
This commit is contained in:
Daniel Thompson 2020-01-20 08:06:16 +00:00
parent 6e9cff06d5
commit 5b016dcb4e

View file

@ -15,6 +15,10 @@ submodules :
bootloader: bootloader:
$(MAKE) -C bootloader/ BOARD=$(BOARD)_nrf52832 all genhex $(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 \ python3 tools/hexmerge.py \
bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.hex \ bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.hex \
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 \