-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Unexpected bin filesize increase (+300kB) after core upgrade #1367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Board: ESP32 DoIt V1 I have so far no Problems with the .bin-size-increase .. but I'm interested. For what are these many bytes used for? Code optimization, speedups or similar? And some Code from me, using the following parts …. |
The size of the esp-idf libraries has gone up. I'm guessing that is the root cause here. Please close the issue if you have recognized that this is just how it is... |
Despite the fact were not using BLE... I still guess that lots of new (but unreferenced) code is now included by design. I think I've seen similar issues on the ESP8266 project and those were fixed later on. The exact same source code builds into almost twice the size compared between ESP8266 and ESP32. But yes, looks like we have to live with it. |
Hardware:
Board: ESP32 Lolin Lite
Core Installation/update date: 16/apr/2018
IDE name: Arduino IDE 1.8.5
Flash Frequency: 80Mhz
Upload Speed: 256000
Description:
Have been running a large sketch on Arduino ESP32 core, dated 2017-12-19. Output bin filesize: 866 kB
Upgraded Arduino IDE to use Arduino ESP32 core, dated 2018-04-16. Output bin filesize: 1169 kB
Without changing a single line within the sketch code, bin filesize has increased 303 kB (!)
Was this expected due to a newer SDK or something?
The text was updated successfully, but these errors were encountered: