From 4fe35efe2b5cf74e86aa3a3f11bd8692c11582e3 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 25 Nov 2019 07:24:17 +0100 Subject: [PATCH] cpu/esp32: mtd has to be in IRAM to work correctly --- cpu/esp32/ld/esp32.common.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu/esp32/ld/esp32.common.ld b/cpu/esp32/ld/esp32.common.ld index 1514f23b46..a895ccc6de 100644 --- a/cpu/esp32/ld/esp32.common.ld +++ b/cpu/esp32/ld/esp32.common.ld @@ -107,6 +107,7 @@ SECTIONS /* part of RIOT ports that should run in IRAM */ *cpu.a:*(.literal .text .literal.* .text.*) *periph.a:*(.literal .text .literal.* .text.*) + *mtd.a:**(.literal .text .literal.* .text.*) INCLUDE esp32.spiram.rom-functions-iram.ld _iram_text_end = ABSOLUTE(.);