mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32: initialize cross-core interrupt in single core mode
The software interrupt originally used as the cross-core interrupt is now also used to yield from a FreeRTOS critical section; therefore it must be initialized for single core mode as well. Fixes https://github.com/espressif/esp-idf/issues/496
This commit is contained in:
parent
fd0539b4ba
commit
8915c18f8a
@ -227,9 +227,7 @@ void start_cpu0_default(void)
|
|||||||
#if CONFIG_TASK_WDT
|
#if CONFIG_TASK_WDT
|
||||||
esp_task_wdt_init();
|
esp_task_wdt_init();
|
||||||
#endif
|
#endif
|
||||||
#if !CONFIG_FREERTOS_UNICORE
|
|
||||||
esp_crosscore_int_init();
|
esp_crosscore_int_init();
|
||||||
#endif
|
|
||||||
esp_ipc_init();
|
esp_ipc_init();
|
||||||
spi_flash_init();
|
spi_flash_init();
|
||||||
/* init default OS-aware flash access critical section */
|
/* init default OS-aware flash access critical section */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user