mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
26626dfbf2
It is an ESP specific FreeRTOS feature that the ISR is always executed on the core which calls the interrupt register function. In the SPI driver, the function is always called in the bus initialization function. Hence, the ISR will be executed on the core which initialize the driver. If the core is starved due to higher priority ISRs, or the interrupt is disabled on the core (spinlock called, etc.), the ISR will not get executed and SPI transactions will not be handled. (MINOR CHANGE) Resolves https://github.com/espressif/esp-idf/issues/2432.