Merge branch 'bugfix/place_xt_int_fns_into_iram' into 'master'

[system]: Place xtensa_intr_asm into IRAM

See merge request espressif/esp-idf!13330
pull/6995/head
Ivan Grokhotkov 2021-04-29 08:52:30 +00:00
commit 0a0234193f
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2,6 +2,7 @@
archive: libxtensa.a
entries:
eri (noflash_text)
xtensa_intr_asm (noflash_text)
[mapping:xt_hal]
archive: libxt_hal.a

Wyświetl plik

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