diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-26 20:03:30 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-26 20:03:30 (GMT) |
| commit | a9ca9cfe132068488a7a39c7bb6aac69d7936ae6 (patch) | |
| tree | fbc9bcaa5083df1f2dd6767dbbf0c605fd27bdd1 /Makefile | |
| parent | 326e06bc6bda0abf02372c8f23f7c9e60cd5cfff (diff) | |
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>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |
