mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-04 02:50:58 +02:00
Only init crosscore when FreeRTOS runs in multicore mode, add warnings that cross_int calls are private.
This commit is contained in:
@@ -147,7 +147,9 @@ void start_cpu0_default(void)
|
||||
uart_div_modify(0, (APB_CLK_FREQ << 4) / 115200);
|
||||
ets_setup_syscalls();
|
||||
do_global_ctors();
|
||||
#if !CONFIG_FREERTOS_UNICORE
|
||||
esp_crosscore_int_init();
|
||||
#endif
|
||||
esp_ipc_init();
|
||||
spi_flash_init();
|
||||
xTaskCreatePinnedToCore(&main_task, "main",
|
||||
|
Reference in New Issue
Block a user