mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 03:58:06 +08:00
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:
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user