diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-11 20:12:18 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-11 20:12:18 (GMT) |
| commit | 50ecff29efb5afd4796ea192982bba10266947fe (patch) | |
| tree | c5374fe9ac9797658867b7627ca3ca971de64247 /Makefile | |
| parent | 7ef145cdc5f575ae253b6bd0176375feee61bf86 (diff) | |
wasp: Automatically generate watch.py for PineTime
This should ensure that main.py is always up to date.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -27,7 +27,7 @@ bootloader: softdevice: micropython/ports/nrf/drivers/bluetooth/download_ble_stack.sh -micropython: +micropython: wasp/boards/pinetime/watch.py $(MAKE) -C micropython/mpy-cross $(RM) micropython/ports/nrf/build-$(BOARD)-s132/frozen_content.c $(MAKE) -C micropython/ports/nrf \ @@ -39,6 +39,10 @@ micropython: --application micropython/ports/nrf/build-$(BOARD)-s132/firmware.hex \ micropython.zip +wasp/boards/pinetime/watch.py : wasp/boards/pinetime/watch.py.in + (cd wasp; ../tools/preprocess.py boards/pinetime/watch.py.in > \ + boards/pinetime/watch.py) + dfu: python3 -m nordicsemi dfu serial --package micropython.zip --port /dev/ttyACM0 |
