How to show compile information

mikemoy
Posts: 251
Joined: Fri Jan 12, 2018 9:10 pm

How to show compile information

Postby mikemoy » Sat Mar 16, 2019 10:11 pm

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 927 times

mikemoy
Posts: 251
Joined: Fri Jan 12, 2018 9:10 pm

Re: How to show compile information

Postby mikemoy » Sat Mar 16, 2019 10:52 pm

I found something close enough. using "make size" does it.

ESP_Angus
Posts: 1587
Joined: Sun May 08, 2016 4:11 am

Re: How to show compile information

Postby ESP_Angus » Mon Mar 18, 2019 1:21 am

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

mikemoy
Posts: 251
Joined: Fri Jan 12, 2018 9:10 pm

Re: How to show compile information

Postby mikemoy » Mon Mar 18, 2019 3:52 pm

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 827 times

ESP_Angus
Posts: 1587
Joined: Sun May 08, 2016 4:11 am

Re: How to show compile information

Postby ESP_Angus » Mon Mar 18, 2019 10:23 pm

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).

mikemoy
Posts: 251
Joined: Fri Jan 12, 2018 9:10 pm

Re: How to show compile information

Postby mikemoy » Tue Mar 19, 2019 1:23 am

Thank you for the great explanation. Maybe for a future use we could pass the flash size like 4MB 8MB and so on.

Who is online

Users browsing this forum: adam_esp, ESP_Dazz, Google [Bot], Ritu21 and 22 guests