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

Remenyo
Posts: 1
Joined: Sat Feb 05, 2022 6:15 am

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

Postby Remenyo » Mon May 13, 2024 2:57 pm

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.

ESP_Sprite
Posts: 9725
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue May 14, 2024 2:48 am

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.

Who is online

Users browsing this forum: Google [Bot] and 77 guests