Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By picstart
#77511 [quote="rudy"][quote]I think things should get leaner ( more compact w.r.t. code size) with newer versions. [/quote]

[quote]I would think the opposite.[/quote]
Well maybe I'm wrong in expecting code to get more efficient instead of just more of it in newer versions.
The issue arose with the OTA and EP32 going from 44% to 55% between versions and blowing up OTA.
I never experienced this with the esp8266 code since my code never crossed the 50% threshold with OTA and the esp8266. I would expect it was just as likely to bloat up since new versions as you expect always come with more code space demand. Further since the original esp8266 boards had smaller flash chips I could de-solder the can and the NAND flash chip and upgrade it. ESP32 is I believe at max already I don't know if anyone has upped its memory?
I'm in the middle of paring down the POSIX every possible worldwide timezone support with ESP32 1.8.5 to just USA EST/DST support since the esp devices I have are plugged into the wall in my house and the house is unlikely to travel to another timezone. Though I see the need for a commercial vendor to want to sell in all timezones and seeking that support in the core code.
I just want OTA to work it already sacrifices 50% of the code space so hacking out the holy grail "works on every board everywhere" code is good place to start.