mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
arch/risc-v/esp32c3: Create a separate heap for the RTC memory.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
965a39a76d
commit
f54804bafc
@@ -247,6 +247,11 @@ SECTIONS
|
||||
{
|
||||
*(.rtc.data)
|
||||
*(.rtc.rodata)
|
||||
|
||||
/* Whatever is left from the RTC memory is used as a special heap. */
|
||||
|
||||
_srtc_heap = ABSOLUTE(.);
|
||||
|
||||
} >rtc_seg
|
||||
}
|
||||
|
||||
|
||||
@@ -89,3 +89,6 @@ MEMORY
|
||||
REGION_ALIAS("default_code_seg", iram0_2_seg);
|
||||
#endif /* CONFIG_ESP32C3_DEVKIT_RUN_IRAM */
|
||||
|
||||
/* Mark the end of the RTC heap (top of the RTC region) */
|
||||
|
||||
_ertc_heap = 0x50001fff;
|
||||
|
||||
Reference in New Issue
Block a user