summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 135f63f..7db1c6d 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ reloader: bootloader
softdevice:
micropython/ports/nrf/drivers/bluetooth/download_ble_stack.sh
-micropython: wasp/boards/pinetime/watch.py
+micropython: wasp/boards/$(BOARD)/watch.py
$(MAKE) -C micropython/mpy-cross
$(RM) micropython/ports/nrf/build-$(BOARD)-s132/frozen_content.c
$(MAKE) -C micropython/ports/nrf \
@@ -44,9 +44,9 @@ micropython: wasp/boards/pinetime/watch.py
--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)
+wasp/boards/$(BOARD)/watch.py : wasp/boards/$(BOARD)/watch.py.in
+ (cd wasp; ../tools/preprocess.py boards/$(BOARD)/watch.py.in > \
+ boards/$(BOARD)/watch.py)
dfu:
python3 -m nordicsemi dfu serial --package micropython.zip --port /dev/ttyACM0