Replies: 4 comments 4 replies
-
You didn't specify which firmware variant you are using. For most of those features there are compiler flags, and they are disabled in some of the boards:
if you want to adjust |
Beta Was this translation helpful? Give feedback.
-
What is your current image size, and what is your target? |
Beta Was this translation helpful? Give feedback.
-
You can try to reduce the number of frozen modules in your firmware. Try using this "manifest.py" in your "ports/esp32/boards" directory. freeze("$(PORT_DIR)/modules")
# --include("$(MPY_DIR)/extmod/asyncio")
# Useful networking-related packages.
# --require("bundle-networking")
require("mip")
require("ntptime")
# --require("ssl")
require("requests")
# --require("webrepl")
# Provide urequests (which just forwards to requests) for backwards
# compatibility.
# --require("urequests")
# Require some micropython-lib modules.
# --require("aioespnow")
require("dht")
require("ds18x20")
require("neopixel")
require("onewire")
require("umqtt.robust")
require("umqtt.simple")
# --require("upysh") It is up to you to choose which modules to include or exclude. |
Beta Was this translation helpful? Give feedback.
-
It's possible to turn PPP off, #13640 And here's some more things you can turn off:
ESP-IDF is configurable and things can be turned off there too. Try CONFIG_ETH_USE_SPI_ETHERNET and CONFIG_LWIP_PPP_SUPPORT. Also flash chip types you aren't using. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice to have a list of all opportunities to reduce firmware size to a minimum.
Here's some config I've tried already (from
sdkconfig.d2wd
):Is there anyway to disable these features:
Beta Was this translation helpful? Give feedback.
All reactions