[system]: put xtensa_intr_asm into IRAM

This commit is contained in:
Jakob Hasse
2021-04-25 14:14:52 +08:00
parent 3299a19c2f
commit f16ec53183
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
archive: libxtensa.a archive: libxtensa.a
entries: entries:
eri (noflash_text) eri (noflash_text)
xtensa_intr_asm (noflash_text)
if IDF_TARGET_ESP32S2 = y: if IDF_TARGET_ESP32S2 = y:
stdatomic (noflash) stdatomic (noflash)

View File

@@ -98,7 +98,7 @@ extern xt_handler_table_entry _xt_interrupt_table[XCHAL_NUM_INTERRUPTS*portNUM_P
/* /*
Default handler for unhandled interrupts. Default handler for unhandled interrupts.
*/ */
void xt_unhandled_interrupt(void * arg) void IRAM_ATTR xt_unhandled_interrupt(void * arg)
{ {
esp_rom_printf("Unhandled interrupt %d on cpu %d!\n", (int)arg, xPortGetCoreID()); esp_rom_printf("Unhandled interrupt %d on cpu %d!\n", (int)arg, xPortGetCoreID());
} }