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:
parent
c38e133d91
commit
0917d5135d
4 changed files with 9 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
0
manifest/dsd6.py
Normal file
0
manifest/nitrogen.py
Normal file
0
manifest/nitrogen.py
Normal file
8
manifest/pinetime.py
Normal file
8
manifest/pinetime.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
freeze_as_mpy('$(MPY_DIR)/../wasp', (
|
||||
'main.py',
|
||||
'demo.py',
|
||||
'drivers/st7789.py',
|
||||
'logo.py',
|
||||
'pinetime.py'
|
||||
))
|
||||
|
Loading…
Reference in a new issue