diff options
| author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-07-23 23:12:51 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-08-08 23:17:55 +1000 |
| commit | aa857eb65e57a935ec3757abc35b007996433298 (patch) | |
| tree | ccf3229d8d001b442d9efe419764e2b286fc9b51 | |
| parent | 7b6ad0ce2e6c3c623966c5568989ed5042fb9b1d (diff) | |
nrf/Makefile: Set default manifest file for all targets.
Set the default manifest to "modules/manifest.py". This includes files
from the folder "modules/scripts". The manifest default value is overriden
by all nrf51 boards that have SoftDevice present (SD=s110) to save flash.
Also add "modules/manifest.py" which is set to freeze
"modules/scripts/_mkfs.py".
| -rw-r--r-- | ports/nrf/Makefile | 2 | ||||
| -rw-r--r-- | ports/nrf/modules/manifest.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index 0e46885ea..a8a522827 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -52,6 +52,8 @@ ifeq ($(DEBUG), 0) MICROPY_ROM_TEXT_COMPRESSION ?= 1 endif +FROZEN_MANIFEST ?= modules/manifest.py + # include py core make definitions include ../../py/py.mk diff --git a/ports/nrf/modules/manifest.py b/ports/nrf/modules/manifest.py new file mode 100644 index 000000000..4e8482226 --- /dev/null +++ b/ports/nrf/modules/manifest.py @@ -0,0 +1 @@ +freeze("$(PORT_DIR)/modules/scripts", "_mkfs.py") |
