We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4a346 commit 3b611a5Copy full SHA for 3b611a5
FreeRTOS/portable/esp-idf/port_common.c
@@ -47,7 +47,9 @@ volatile unsigned port_xSchedulerRunning[portNUM_PROCESSORS] = {0};
47
#error "FreeRTOS and system configuration mismatch regarding the use of multiple cores."
48
#endif
49
50
+#if !defined CONFIG_IDF_RTOS_RTTHREAD
51
static void main_task(void* args);
52
+#endif
53
54
#ifdef CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME
55
void esp_gdbstub_init(void);
@@ -87,6 +89,7 @@ static bool other_cpu_startup_idle_hook_cb(void)
87
89
}
88
90
91
92
93
static void main_task(void* args)
94
{
95
#if !CONFIG_FREERTOS_UNICORE
@@ -133,3 +136,4 @@ static void main_task(void* args)
133
136
app_main();
134
137
vTaskDelete(NULL);
135
138
139
0 commit comments