Merge branch 'bugfix/place_xt_int_fns_into_iram_4.3' into 'release/v4.3'

[system]: put xtensa_intr_asm into IRAM (backport 4.3)

See merge request espressif/esp-idf!13402
This commit is contained in:
Angus Gratton
2021-05-14 01:48:11 +00:00
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());
} }