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>
This commit is contained in:
Damien George 2021-05-26 16:57:39 +10:00
parent ef16834887
commit 0abf6f830c
2 changed files with 6 additions and 0 deletions

View File

@ -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")

View File

@ -1 +1,3 @@
LD_FILES = boards/esp8266_512k.ld
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py