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
pull/519/head
Ivan Grokhotkov 2017-04-07 14:48:08 +08:00
rodzic fd0539b4ba
commit 8915c18f8a
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -227,9 +227,7 @@ void start_cpu0_default(void)
#if CONFIG_TASK_WDT
esp_task_wdt_init();
#endif
#if !CONFIG_FREERTOS_UNICORE
esp_crosscore_int_init();
#endif
esp_ipc_init();
spi_flash_init();
/* init default OS-aware flash access critical section */