Build size 2.0.17 vs 3.0.1 #9860
-
Hey, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Unfortunately the WiFi lib (and other IDF components) grew from IDF 4.4 to IDF 5.1. WiFi alone grew by about 200KB because of support for newer encryption methods, etc. Nothing we can do really. |
Beta Was this translation helpful? Give feedback.
-
I have a similar issue. My ESP32-C3 code complied and ran with a binary size of 860 KB in 2.0.17, but in 3.0.1 its size is 1084 KB. I was able to update the smaller file OTA and now it seems that OTA fails, strangely with the error of "file not found" even though the file is on the OTA server. I've read in https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/performance/size.html about ways to reduce the size of the WiFi related portions of the file, but I can find no information on how to modify the configuration in the Arduino IDE to make the optimizations discussed in the espressif documentation. Can someone point me to how to do this in the Arduino IDE? |
Beta Was this translation helpful? Give feedback.
-
There's some extra size added by chip debug report. Also, there's a bug that debug logs are not properly stripped out from the binary even if core debug level is set to 0. |
Beta Was this translation helpful? Give feedback.
-
@me-no-dev can you please make a final release 2.0.18 with ESP-IDF 4.4.8? ESP-IDF 4.4.8 is the last update/fix (EOL). For a couple of hours you changed the topic to 2.0.18 before you closed PR 4.4 |
Beta Was this translation helpful? Give feedback.
Unfortunately the WiFi lib (and other IDF components) grew from IDF 4.4 to IDF 5.1. WiFi alone grew by about 200KB because of support for newer encryption methods, etc. Nothing we can do really.