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 6bdae7e55e..5923840f62 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) */