@@ -21,14 +21,16 @@ config AUTOSTART_ARDUINO
2121
2222choice ARDUINO_RUNNING_CORE
2323 bool "Core on which Arduino's setup() and loop() are running"
24- default ARDUINO_RUN_CORE1
24+ default ARDUINO_RUN_CORE0 if FREERTOS_UNICORE
25+ default ARDUINO_RUN_CORE1 if !FREERTOS_UNICORE
2526 help
2627 Select on which core Arduino's setup() and loop() functions run
2728
2829 config ARDUINO_RUN_CORE0
2930 bool "CORE 0"
3031 config ARDUINO_RUN_CORE1
3132 bool "CORE 1"
33+ depends on !FREERTOS_UNICORE
3234 config ARDUINO_RUN_NO_AFFINITY
3335 bool "BOTH"
3436 depends on !FREERTOS_UNICORE
@@ -49,14 +51,16 @@ config ARDUINO_LOOP_STACK_SIZE
4951
5052choice ARDUINO_EVENT_RUNNING_CORE
5153 bool "Core on which Arduino's event handler is running"
52- default ARDUINO_EVENT_RUN_CORE1
54+ default ARDUINO_EVENT_RUN_CORE0 if FREERTOS_UNICORE
55+ default ARDUINO_EVENT_RUN_CORE1 if !FREERTOS_UNICORE
5356 help
5457 Select on which core Arduino's WiFi.onEvent() run
5558
5659 config ARDUINO_EVENT_RUN_CORE0
5760 bool "CORE 0"
5861 config ARDUINO_EVENT_RUN_CORE1
5962 bool "CORE 1"
63+ depends on !FREERTOS_UNICORE
6064 config ARDUINO_EVENT_RUN_NO_AFFINITY
6165 bool "BOTH"
6266 depends on !FREERTOS_UNICORE
@@ -71,14 +75,16 @@ config ARDUINO_EVENT_RUNNING_CORE
7175
7276choice ARDUINO_SERIAL_EVENT_TASK_RUNNING_CORE
7377 bool "Core on which Arduino's Serial Event task is running"
74- default ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY
78+ default ARDUINO_SERIAL_EVENT_RUN_CORE0 if FREERTOS_UNICORE
79+ default ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY if !FREERTOS_UNICORE
7580 help
7681 Select on which core Arduino's Serial Event task run
7782
7883 config ARDUINO_SERIAL_EVENT_RUN_CORE0
7984 bool "CORE 0"
8085 config ARDUINO_SERIAL_EVENT_RUN_CORE1
8186 bool "CORE 1"
87+ depends on !FREERTOS_UNICORE
8288 config ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY
8389 bool "BOTH"
8490 depends on !FREERTOS_UNICORE
@@ -103,22 +109,17 @@ config ARDUINO_SERIAL_EVENT_TASK_PRIORITY
103109 help
104110 Select at what priority you want the Serial Event task to run.
105111
106- config ARDUINO_UDP_TASK_PRIORITY
107- int "Priority of the UDP task"
108- default 3
109- help
110- Select at what priority you want the UDP task to run.
111-
112112choice ARDUINO_UDP_RUNNING_CORE
113113 bool "Core on which Arduino's UDP is running"
114- default ARDUINO_UDP_RUN_CORE1
114+ default ARDUINO_UDP_RUN_CORE0
115115 help
116116 Select on which core Arduino's UDP run
117117
118118 config ARDUINO_UDP_RUN_CORE0
119119 bool "CORE 0"
120120 config ARDUINO_UDP_RUN_CORE1
121121 bool "CORE 1"
122+ depends on !FREERTOS_UNICORE
122123 config ARDUINO_UDP_RUN_NO_AFFINITY
123124 bool "BOTH"
124125 depends on !FREERTOS_UNICORE
@@ -131,6 +132,12 @@ config ARDUINO_UDP_RUNNING_CORE
131132 default 1 if ARDUINO_UDP_RUN_CORE1
132133 default -1 if ARDUINO_UDP_RUN_NO_AFFINITY
133134
135+ config ARDUINO_UDP_TASK_PRIORITY
136+ int "Priority of the UDP task"
137+ default 3
138+ help
139+ Select at what priority you want the UDP task to run.
140+
134141config ARDUINO_ISR_IRAM
135142 bool "Run interrupts in IRAM"
136143 default "n"
0 commit comments