summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-26 18:21:28 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-26 18:21:28 (GMT)
commitdc4ea4ab6205bcdb27278367f7d5147b56cf78b8 (patch)
tree75f4e312f2ad624025d6b71603f1b1be4feec896 /Makefile
parent17a8cfc34638d14167d33c1f2b094813446e5c5b (diff)
reloader: OTA flashing tool for wasp-os
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f0fd8ff..50063a8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ bootloader:
bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.hex \
bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \
-o bootloader.hex
+ python3 tools/hex2c.py bootloader.hex > \
+ reloader/src/boards/$(BOARD)/bootloader.h
softdevice:
micropython/ports/nrf/drivers/bluetooth/download_ble_stack.sh