summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-06-09 20:29:00 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-06-09 20:31:55 (GMT)
commitccaf12750ba39fe0bc1fa6d2425ef2d1831ded9a (patch)
tree4a34126a5afa06c1178527a9e9268396b17811db /Makefile
parentdea2ba8d65f03c6c203f58d5db4bfdccda6f7c25 (diff)
wasp: apps: Step counter application
Currently there's no fancy algorithms to estimate stride length. Just pure simple step counting directly from the hardware's "intelligence engine". Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5cdd4df..39fb23e 100644
--- a/Makefile
+++ b/Makefile
@@ -16,10 +16,6 @@ submodules :
bootloader:
$(MAKE) -C bootloader/ BOARD=$(BOARD)_nrf52832 all genhex
- 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.zip
python3 tools/hexmerge.py \
bootloader/_build-$(BOARD)_nrf52832/$(BOARD)_nrf52832_bootloader-*-nosd.hex \
bootloader/lib/softdevice/s132_nrf52_6.1.1/s132_nrf52_6.1.1_softdevice.hex \
@@ -40,7 +36,8 @@ micropython: wasp/boards/pinetime/watch.py
$(MAKE) -C micropython/ports/nrf \
BOARD=$(BOARD) SD=s132 \
MICROPY_VFS_LFS2=1 \
- FROZEN_MANIFEST=$(PWD)/wasp/boards/$(BOARD)/manifest.py
+ FROZEN_MANIFEST=$(PWD)/wasp/boards/$(BOARD)/manifest.py \
+ USER_C_MODULES=$(PWD)/wasp/modules
python3 -m nordicsemi dfu genpkg \
--dev-type 0x0052 \
--application micropython/ports/nrf/build-$(BOARD)-s132/firmware.hex \