diff options
| author | Damien George <damien@micropython.org> | 2021-05-26 16:57:39 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-05-26 21:41:40 +1000 |
| commit | 0abf6f830cd390e2e5dbd4a2c68f611f5c9507dc (patch) | |
| tree | 4ea0b0044741edadb36f89b65b6ace6bb351c044 | |
| parent | ef16834887de02cbddf414b560e5a2af9cae4b16 (diff) | |
esp8266/boards/GENERIC_512K: Add custom manifest without FS modules.
The 512k build does not have a filesystem so there is no reason to include
the filesystem-related modules. This commit provides a custom manifest.py
for this board which no longer includes: _boot.py, flashbdev.py,
inisetup.py, upip.py, upip_utarfile.py. This cuts the build down by about
9k of flash.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/esp8266/boards/GENERIC_512K/manifest.py | 4 | ||||
| -rw-r--r-- | ports/esp8266/boards/GENERIC_512K/mpconfigboard.mk | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/esp8266/boards/GENERIC_512K/manifest.py b/ports/esp8266/boards/GENERIC_512K/manifest.py new file mode 100644 index 000000000..e7ab8ad53 --- /dev/null +++ b/ports/esp8266/boards/GENERIC_512K/manifest.py @@ -0,0 +1,4 @@ +freeze("$(PORT_DIR)/modules", ("apa102.py", "neopixel.py", "ntptime.py", "port_diag.py")) +freeze("$(MPY_DIR)/drivers/dht", "dht.py") +freeze("$(MPY_DIR)/drivers/onewire") +include("$(MPY_DIR)/extmod/webrepl/manifest.py") diff --git a/ports/esp8266/boards/GENERIC_512K/mpconfigboard.mk b/ports/esp8266/boards/GENERIC_512K/mpconfigboard.mk index a7566f9f1..120351909 100644 --- a/ports/esp8266/boards/GENERIC_512K/mpconfigboard.mk +++ b/ports/esp8266/boards/GENERIC_512K/mpconfigboard.mk @@ -1 +1,3 @@ LD_FILES = boards/esp8266_512k.ld + +FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py |
