From 8915c18f8a4e2b84ba344397c0d99b48d3f155eb Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 7 Apr 2017 14:48:08 +0800 Subject: [PATCH] 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 --- components/esp32/cpu_start.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/esp32/cpu_start.c b/components/esp32/cpu_start.c index 9c06a49f26..e0ad356ab9 100644 --- a/components/esp32/cpu_start.c +++ b/components/esp32/cpu_start.c @@ -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 */