You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/11/03 21:24:24 UTC
[incubator-nuttx] branch master updated: boards/esp32: Fix invalid IRAM option in linker script
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko 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 c06b881812 boards/esp32: Fix invalid IRAM option in linker script
c06b881812 is described below
commit c06b88181285c7d247fc23ac1fd67bd4e3f3f466
Author: Lucas Saavedra Vaz <lu...@espressif.com>
AuthorDate: Thu Nov 3 12:14:53 2022 -0300
boards/esp32: Fix invalid IRAM option in linker script
---
boards/xtensa/esp32/common/scripts/flat.template.ld | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/boards/xtensa/esp32/common/scripts/flat.template.ld b/boards/xtensa/esp32/common/scripts/flat.template.ld
index 826dd21ba0..e5f53d7b9a 100644
--- a/boards/xtensa/esp32/common/scripts/flat.template.ld
+++ b/boards/xtensa/esp32/common/scripts/flat.template.ld
@@ -147,13 +147,13 @@ MEMORY
extmem_seg (RWX) : org = 0x3f800000, len = 0x400000
}
-#if CONFIG_ESP32_DEVKIT_RUN_IRAM
+#if CONFIG_ESP32_RUN_IRAM
REGION_ALIAS("default_rodata_seg", dram0_0_seg);
REGION_ALIAS("default_code_seg", iram0_0_seg);
#else
REGION_ALIAS("default_rodata_seg", drom0_0_seg);
REGION_ALIAS("default_code_seg", irom0_0_seg);
-#endif /* CONFIG_ESP32_DEVKIT_RUN_IRAM */
+#endif /* CONFIG_ESP32_RUN_IRAM */
/* Heap ends at top of dram0_0_seg */