8000 nrf/Makefile: Set default manifest file for all targets. · codemee/micropython@aa857eb · GitHub
[go: up one dir, main page]

Skip to content

Commit aa857eb

Browse files
glennrubdpgeorge
authored andcommitted
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".
1 parent 7b6ad0c commit aa857eb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ports/nrf/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ ifeq ($(DEBUG), 0)
5252
MICROPY_ROM_TEXT_COMPRESSION ?= 1
5353
endif
5454

55+
FROZEN_MANIFEST ?= modules/manifest.py
56+
5557
# include py core make definitions
5658
include ../../py/py.mk
5759

ports/nrf/modules/manifest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
freeze("$(PORT_DIR)/modules/scripts", "_mkfs.py")

0 commit comments

Comments
 (0)
0