Skip to content
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

Add segment size printout to standard build process #6525

Merged
merged 3 commits into from
Sep 16, 2019

Conversation

earlephilhower
Copy link
Collaborator

@earlephilhower earlephilhower commented Sep 15, 2019

Since IRAM is such a precious resource on the ESP8266, dump out its size
(and all other segments) at the end of the build process.

Ex:

Executable segment sizes:
IROM   : 338932
IRAM   : 27263
DATA   : 1476
RODATA : 2896
BSS    : 30304
Sketch uses 370567 bytes (35%) of program storage space. Maximum is 1044464 bytes.
Global variables use 34676 bytes (42%) of dynamic memory, leaving 47244 bytes for local variables. Maximum is 81920 bytes.

Since IRAM is such a precious resource on the ESP8266, dump out its size
(and all other segments) at the end of the build process.

Ex:
Executable segment sizes:
IROM   : 338932
IRAM   : 27263
DATA   : 1476
RODATA : 2896
BSS    : 30304
Sketch uses 370567 bytes (35%) of program storage space. Maximum is 1044464 bytes.
Global variables use 34676 bytes (42%) of dynamic memory, leaving 47244 bytes for local variables. Maximum is 81920 bytes.
@earlephilhower earlephilhower added this to the 2.6.0 milestone Sep 15, 2019
@earlephilhower earlephilhower merged commit f2de9e1 into esp8266:master Sep 16, 2019
@earlephilhower earlephilhower deleted the dumpsizes branch September 16, 2019 23:29
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

Successfully merging this pull request may close these issues.

3 participants