boards/risc-v/esp32c3-devkit/scripts: Drop the "iram" in the name of the RTC

section.

The RTC region is accessed by both I and D buses.  The old name of
`rtc_iram_seg` is a bit confusing.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-06-14 10:17:42 +01:00 committed by Xiang Xiao
parent 91e82d1597
commit 61f7bc6e2a
2 changed files with 5 additions and 6 deletions

View File

@ -223,7 +223,7 @@ SECTIONS
{ {
. = ALIGN(4); . = ALIGN(4);
*(.rtc.literal .rtc.text) *(.rtc.literal .rtc.text)
} >rtc_iram_seg } >rtc_seg
/* This section is required to skip rtc.text area because the text and /* This section is required to skip rtc.text area because the text and
* data segments reflect the same address space on different buses. * data segments reflect the same address space on different buses.
@ -232,7 +232,7 @@ SECTIONS
.rtc.dummy : .rtc.dummy :
{ {
. = SIZEOF(.rtc.text); . = SIZEOF(.rtc.text);
} >rtc_iram_seg } >rtc_seg
/* RTC data section holds RTC wake stub data/rodata. */ /* RTC data section holds RTC wake stub data/rodata. */
@ -240,6 +240,6 @@ SECTIONS
{ {
*(.rtc.data) *(.rtc.data)
*(.rtc.rodata) *(.rtc.rodata)
} >rtc_iram_seg } >rtc_seg
} }

View File

@ -76,10 +76,9 @@ MEMORY
drom0_0_seg (R) : org = 0x3c000020, len = 0x8000000 - 0x20 drom0_0_seg (R) : org = 0x3c000020, len = 0x8000000 - 0x20
/* RTC fast memory (executable). Persists over deep sleep. */ /* RTC fast memory. Persists over deep sleep. */
rtc_iram_seg(RWX) : org = 0x50000000, len = 0x2000
rtc_seg(RWX) : org = 0x50000000, len = 0x2000
} }
#if CONFIG_ESP32C3_DEVKIT_RUN_IRAM #if CONFIG_ESP32C3_DEVKIT_RUN_IRAM