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
commit de0063164d
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
archive: libxtensa.a
entries:
eri (noflash_text)
xtensa_intr_asm (noflash_text)
if IDF_TARGET_ESP32S2 = y:
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.
*/
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());
}