Page 1 of 1

How to check what takes up space in .rtc_fast_reserved segment?

Posted: Mon May 13, 2024 2:57 pm
by Remenyo
The program I develop ran out of RTC FAST memory, but i do not know what takes up space there.

I see errors like:
`.rtc_fast_reserved' will not fit in region `rtc_fast_reserved_seg'
and
region `rtc_fast_reserved_seg' overflowed by 16 bytes
I know there is a <projectname>.map file in the build folder, but that does not contain too much information about that segment. (Or it seems like to me at least.)

Code: Select all

.rtc_fast_reserved
                0x3ff81fd0       0x30
                0x3ff81fd0                        . = ALIGN (0x4)
                0x3ff81fd0                        _rtc_fast_reserved_start = ABSOLUTE (.)
 *(.bootloader_data_rtc_mem .bootloader_data_rtc_mem.*)
How can I see, or better, visualize what data takes up space in rtc_fast_reserved_seg?

In this project I use Platformio's 6.6.0 espressif32 package that is IDF v5.2.1 , it has no Ardunio component.

Thank you.

Re: How to check what takes up space in .rtc_fast_reserved segment?

Posted: Tue May 14, 2024 2:48 am
by ESP_Sprite
Not sure if you have access to the idf.py command line in platformio; if so 'idf.py size-components' and 'idf.py size-files' might be able to tell you more.