mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
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:
committed by
Xiang Xiao
parent
c8e56ff63a
commit
a763ed1e07
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user