Makefile: Allow installation via DaFlasher

Generate a .zip file that works with SoftDevice 2.0.1 (still looking
for the recipe that works with 5.0), fix up the bootloader to work with
DaFlasher and add an extra feature in micropython to cope better.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2020-07-26 21:03:30 +01:00
parent 326e06bc6b
commit a9ca9cfe13
3 changed files with 6 additions and 2 deletions

View file

@ -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)

@ -1 +1 @@
Subproject commit 9148e76c4138dbdb9bd1ddf7d125274e6262e221
Subproject commit 85a9b76d8451eba2e2c9e5d9b3b1b8450178105f

@ -1 +1 @@
Subproject commit 9d5e23fc71a54c64f21ae762050f4612530d65d6
Subproject commit 89f48aca20920073d0c88782df0a8881651a5b28