From df5b22b2643b0bd27d6054130af12610bc325ed9 Mon Sep 17 00:00:00 2001 From: Sylvio Alves Date: Fri, 16 Apr 2021 10:54:14 -0300 Subject: [PATCH] linker: esp32: moved windowspill to IRAM xthal_window_spill call has to be placed into IRAM in order to allow flash cache disabled operation, otherwise it will crash. Signed-off-by: Sylvio Alves --- soc/xtensa/esp32/linker.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/xtensa/esp32/linker.ld b/soc/xtensa/esp32/linker.ld index 8cf97ec9e26..3e64bbd8e2c 100644 --- a/soc/xtensa/esp32/linker.ld +++ b/soc/xtensa/esp32/linker.ld @@ -385,6 +385,7 @@ __shell_root_cmds_end = __esp_shell_root_cmds_end; *libsoc.a:cpu_util.*(.literal .text .literal.* .text.*) *libgcc.a:lib2funcs.*(.literal .text .literal.* .text.*) *libdrivers__flash.a:flash_esp32.*(.literal .text .literal.* .text.*) + *libzephyr.a:windowspill_asm.*(.literal .text .literal.* .text.*) *libzephyr.a:log_noos.*(.literal .text .literal.* .text.*) *libzephyr.a:xtensa_sys_timer.*(.literal .text .literal.* .text.*) *libzephyr.a:log_core.*(.literal .text .literal.* .text.*)