espressif: Fix build with RTC

This commit ensures that RTC data is properly allocated in the RTC
segment in the linker. This fixes the reported problem about using
the legacy bootloader and RTC.
This commit is contained in:
Tiago Medicci Serrano
2024-08-27 17:39:54 -03:00
committed by Xiang Xiao
parent c8e56ff63a
commit a763ed1e07
12 changed files with 32 additions and 0 deletions
@@ -359,7 +359,9 @@ SECTIONS
.rtc.data :
{
*(.rtc.data)
*(.rtc.data.*)
*(.rtc.rodata)
*(.rtc.rodata.*)
/* Whatever is left from the RTC memory is used as a special heap. */
@@ -313,7 +313,9 @@ SECTIONS
.rtc.data :
{
*(.rtc.data)
*(.rtc.data.*)
*(.rtc.rodata)
*(.rtc.rodata.*)
/* Whatever is left from the RTC memory is used as a special heap. */
@@ -537,7 +537,9 @@ SECTIONS
.rtc.data :
{
*(.rtc.data)
*(.rtc.data.*)
*(.rtc.rodata)
*(.rtc.rodata.*)
/* Whatever is left from the RTC memory is used as a special heap. */