Просмотр исходного кода

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
Ivan Grokhotkov 8 лет назад
Родитель
Сommit
8915c18f8a
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      components/esp32/cpu_start.c

+ 0 - 2
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 */