diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-28 18:32:42 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-01-28 18:45:27 (GMT) |
| commit | 0917d5135d73afc567f601ae81da0606b59aac01 (patch) | |
| tree | 15d9385a93e7bdd044f32dc0f57e5eb1fc79a5dc | |
| parent | c38e133d9184a24d55df4e92189166d68cbcbc2f (diff) | |
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.
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | manifest/dsd6.py | 0 | ||||
| -rw-r--r-- | manifest/nitrogen.py | 0 | ||||
| -rw-r--r-- | manifest/pinetime.py | 8 |
4 files changed, 9 insertions, 1 deletions
@@ -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 \ diff --git a/manifest/dsd6.py b/manifest/dsd6.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/manifest/dsd6.py diff --git a/manifest/nitrogen.py b/manifest/nitrogen.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/manifest/nitrogen.py diff --git a/manifest/pinetime.py b/manifest/pinetime.py new file mode 100644 index 0000000..54533eb --- /dev/null +++ b/manifest/pinetime.py @@ -0,0 +1,8 @@ +freeze_as_mpy('$(MPY_DIR)/../wasp', ( + 'main.py', + 'demo.py', + 'drivers/st7789.py', + 'logo.py', + 'pinetime.py' +)) + |
