Replies: 5 comments
-
Yes, frameworks rarely get smaller as they accumulate more cruft. |
Beta Was this translation helpful? Give feedback.
-
Thanks.. But the IDE says that all the libraries are updated. |
Beta Was this translation helpful? Give feedback.
-
majority of the size difference comes from the extra cyphers that need to be supported for newer SSL and WiFi authentication. We are looking into ways to make that optional, but do not have a concrete plan or way to provide that yet. |
Beta Was this translation helpful? Give feedback.
-
This is a similar issue for the ESP32C3 with (for example) the standard "examples/wifi/SimpleWiFiServer" sketch which gives: ESP_ARDUINO_VERSION v2.0.6 ESP_ARDUINO_VERSION v3.0.5 That's an increase of 236,694 bytes or about 34% of the original sketch size (and no SSL for this, just Wifi). |
Beta Was this translation helpful? Give feedback.
-
WiFi is enough to increase the size, because it now supports more security models. WPA3, etc. We looked into providing an options with less security supported, but that ended up being not possible for a few reasons. |
Beta Was this translation helpful? Give feedback.
-
Board
LOLIN S2 MINI
Device Description
Rotary Encoder, OLED display, External EEprom, Buttons..
Hardware Configuration
i2c - SCL on GPIO 35, SDA on GPIO 33
SPI - MOSI 11, MISO 9, and SCK 7
Rotary Encoder is connected to GPIO 2 and 4.
Version
v3.0.4
IDE Name
Arduino IDE 2.3.3
Operating System
Windows 10
Flash frequency
240MHz
PSRAM enabled
yes
Upload speed
115200
Description
I tried to compile some code I wrote a few months ago and it compiled , but using 14% more flash memory. The code should use 66% of flash and now it compiles at 80%. also, when I flash the code to my device, the Encoder only work in General Settings, once it starts running through the main loop, the rotary encoder stops working. If I downgrade the ESP core to version 2.0.17, everything works fine again and the code compiles at 66% flash memory usage.
The same happens when I tried some library example, like for example the WifiManager. With the newer versions of the ESP core, the example "OnDemandConfigPortal" uses 80% of flash memory, and it only uses 74% when compiled with version 2.0.17.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions