[system]: put xtensa_intr_asm into IRAM

This commit is contained in:
Jakob Hasse 2021-04-25 14:14:52 +08:00
parent 00a66083c7
commit be55a5eb2b
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)
[mapping:xt_hal] [mapping:xt_hal]
archive: libxt_hal.a archive: libxt_hal.a

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());
} }