You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/06/24 12:00:58 UTC
[incubator-nuttx] branch master updated: boards/riscv/esp32c3:
Rename the iram_0_2 segment to irom_0_0 to avoid confusions.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new eb403bc boards/riscv/esp32c3: Rename the iram_0_2 segment to irom_0_0 to avoid confusions.
eb403bc is described below
commit eb403bc9962fe0b710b9fdc74ea2cad25d82ec96
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Thu Jun 24 12:12:44 2021 +0100
boards/riscv/esp32c3: Rename the iram_0_2 segment to irom_0_0 to avoid
confusions.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld b/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld
index 6bdae7e..5923840 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld
@@ -66,7 +66,7 @@ MEMORY
* constraint that (paddr % 64KB == vaddr % 64KB).
*/
- iram0_2_seg (RX) : org = 0x42000020, len = 0x8000000 - 0x20
+ irom0_0_seg (RX) : org = 0x42000020, len = 0x8000000 - 0x20
/* Shared data RAM, excluding memory reserved for ROM bss/data/stack. */
@@ -86,7 +86,7 @@ MEMORY
REGION_ALIAS("default_code_seg", iram0_0_seg);
#else
REGION_ALIAS("default_rodata_seg", drom0_0_seg);
- REGION_ALIAS("default_code_seg", iram0_2_seg);
+ REGION_ALIAS("default_code_seg", irom0_0_seg);
#endif /* CONFIG_ESP32C3_DEVKIT_RUN_IRAM */
/* Mark the end of the RTC heap (top of the RTC region) */