From 28abfb5fd16de834a48322bce7f6b9c856427f82 Mon Sep 17 00:00:00 2001 From: Filipe Cavalcanti Date: Wed, 30 Apr 2025 11:14:07 -0300 Subject: [PATCH] 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 --- boards/xtensa/esp32s3/common/scripts/esp32s3_sections.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/xtensa/esp32s3/common/scripts/esp32s3_sections.ld b/boards/xtensa/esp32s3/common/scripts/esp32s3_sections.ld index 614ad82b1eb..7d491bfb987 100644 --- a/boards/xtensa/esp32s3/common/scripts/esp32s3_sections.ld +++ b/boards/xtensa/esp32s3/common/scripts/esp32s3_sections.ld @@ -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) {