boards/esp32s3: fix rtc segment on linker script

Modify rtc_data_seg to rtc_slow_seg to fix RTC problems.
The proper location for those is in RTC slow memory.

Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
Filipe Cavalcanti
2025-04-30 11:14:07 -03:00
committed by Xiang Xiao
parent d4e1d85008
commit 28abfb5fd1
@@ -719,14 +719,14 @@ SECTIONS
*/
. = SIZEOF(.rtc.text);
} >rtc_data_seg
} >rtc_slow_seg
/* RTC BSS section. */
.rtc.bss (NOLOAD) :
{
*(.rtc.bss)
} >rtc_data_seg
} >rtc_slow_seg
.rtc.data :
{
@@ -738,7 +738,7 @@ SECTIONS
/* Whatever is left from the RTC memory is used as a special heap. */
. = ALIGN (4);
} >rtc_data_seg AT>ROM
} >rtc_slow_seg AT>ROM
.rtc.heap : ALIGN(4)
{