Skip to content

Commit

Permalink
esp32: initialize cross-core interrupt in single core mode
Browse files Browse the repository at this point in the history
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 #496
  • Loading branch information
igrr committed Apr 7, 2017
1 parent fd0539b commit 8915c18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/esp32/cpu_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 8915c18

Please sign in to comment.