Skip to content

Commit 0abf6f8

Browse files
committed
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 <[email protected]>
1 parent ef16834 commit 0abf6f8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
freeze("$(PORT_DIR)/modules", ("apa102.py", "neopixel.py", "ntptime.py", "port_diag.py"))
2+
freeze("$(MPY_DIR)/drivers/dht", "dht.py")
3+
freeze("$(MPY_DIR)/drivers/onewire")
4+
include("$(MPY_DIR)/extmod/webrepl/manifest.py")
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
LD_FILES = boards/esp8266_512k.ld
2+
3+
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py

0 commit comments

Comments
 (0)