mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 21:54:33 +02: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:
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user