Makefile: Switch to FROZEN_MANIFEST

This not only avoids the use of a deprecated feature but it also
makes it easier to decouple the wasp/ directory structure from
what actually gets copied to the target.
This commit is contained in:
Daniel Thompson 2020-01-28 18:32:42 +00:00
parent c38e133d91
commit 0917d5135d
4 changed files with 9 additions and 1 deletions

View file

@ -31,7 +31,7 @@ micropython:
$(MAKE) -C micropython/mpy-cross
$(MAKE) -C micropython/ports/nrf \
BOARD=$(BOARD) SD=s132 \
FROZEN_MPY_DIR=$(PWD)/wasp
FROZEN_MANIFEST=$(PWD)/manifest/$(BOARD).py
python3 -m nordicsemi dfu genpkg \
--dev-type 0x0052 \
--application micropython/ports/nrf/build-$(BOARD)-s132/firmware.hex \

0
manifest/dsd6.py Normal file
View file

0
manifest/nitrogen.py Normal file
View file

8
manifest/pinetime.py Normal file
View file

@ -0,0 +1,8 @@
freeze_as_mpy('$(MPY_DIR)/../wasp', (
'main.py',
'demo.py',
'drivers/st7789.py',
'logo.py',
'pinetime.py'
))