From df9b7e8f24384df446c98c10b28f4fb143d66d61 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 23 May 2018 12:57:50 +1000 Subject: [PATCH] esp32/esp32.custom_common.ld: Put soc code in iram0. This is what the IDF does, it must be done. --- ports/esp32/esp32.custom_common.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/esp32/esp32.custom_common.ld b/ports/esp32/esp32.custom_common.ld index c9a61f0184..f49ff9b207 100644 --- a/ports/esp32/esp32.custom_common.ld +++ b/ports/esp32/esp32.custom_common.ld @@ -90,7 +90,7 @@ SECTIONS *app_trace/*(.literal .text .literal.* .text.*) *xtensa-debug-module/eri.o(.literal .text .literal.* .text.*) *librtc.a:(.literal .text .literal.* .text.*) - *libsoc.a:(.literal .text .literal.* .text.*) + *soc/esp32/*(.literal .text .literal.* .text.*) *libhal.a:(.literal .text .literal.* .text.*) *libgcc.a:lib2funcs.o(.literal .text .literal.* .text.*) *spi_flash/spi_flash_rom_patch.o(.literal .text .literal.* .text.*)