Skip to content

30% growth of .elf file after update espressif32 platform v0.12.0 -> 1.0.0 #1453

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

Closed
cyberman54 opened this issue May 31, 2018 · 3 comments
Closed

Comments

@cyberman54
Copy link
Contributor

Hardware:

Board: ESP32generic and Heltec Lora32
Core Installation/update date: 30.5.2018
IDE name: PlatformIO with Espressif32 1.0.0

Description:

Yesterday the espressif32 platform was upgraded from v0.12.0 to v1.0.0 in PlatformIO.

I have code that compiled with previous v0.12.0 to 1,060,542 bytes firmware.elf
After ugrade to v1.0.0 the same code compiles a 1,390,381 bytes firmware.elf - which is too large to fit in the 1,25MB of an ESP32.

This ~30% growth of the binary. Too much to crunch this under 1,25MB by refactoring the code.

What can i do to shrink the firmware.elf?

Sketch:

see repo here

@lbernstone
Copy link
Contributor

What does this have to do with arduino-esp32? https://github.com/platformio/platform-espressif32/issues

@cyberman54
Copy link
Contributor Author

To be honest: i don't know. I posted this in PlatformIO Community, and there i was told to raise an issue here.

@negativekelvin
Copy link

#1367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants