Page 1 of 1

How to show compile information

Posted: Sat Mar 16, 2019 10:11 pm
by mikemoy
Might someone know how I can get more information when I compile like this?


Annotation 2019-03-16 014325.jpg
Annotation 2019-03-16 014325.jpg (24.52 KiB) Viewed 6445 times

Re: How to show compile information

Posted: Sat Mar 16, 2019 10:52 pm
by mikemoy
I found something close enough. using "make size" does it.

Re: How to show compile information

Posted: Mon Mar 18, 2019 1:21 am
by ESP_Angus
For more granular information of this kind there is also "make size-components" and "make size-files". https://docs.espressif.com/projects/esp ... ke-targets

Re: How to show compile information

Posted: Mon Mar 18, 2019 3:52 pm
by mikemoy
When using make size you get the following:
I'm just curious, why doesn't it show percentages for the others?


Annotation 2019-03-18 104949.jpg
Annotation 2019-03-18 104949.jpg (39.97 KiB) Viewed 6345 times

Re: How to show compile information

Posted: Mon Mar 18, 2019 10:23 pm
by ESP_Angus
The "static DRAM" number is data+bss, as these both take up the same memory region. "static DRAM" is probably equivalent to the "DATA RAM" number in the screenshot you posted from another build system.

We don't give any % for flash-resident data because the tool which calculates sizes doesn't know what partition table is in use, so it doesn't know how much space is available for the app partition.

Maybe partition-awareness is something we could add in the future, but we also don't want to give the impression that this size is fixed (as the partition table can be edited to allow a bigger app).

Re: How to show compile information

Posted: Tue Mar 19, 2019 1:23 am
by mikemoy
Thank you for the great explanation. Maybe for a future use we could pass the flash size like 4MB 8MB and so on.