@@ -21,16 +21,19 @@ 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"
36+  depends on !FREERTOS_UNICORE
3437
3538endchoice
3639
@@ -48,16 +51,19 @@ config ARDUINO_LOOP_STACK_SIZE
4851
4952choice ARDUINO_EVENT_RUNNING_CORE
5053 bool "Core on which Arduino's event handler is running"
51-  default ARDUINO_EVENT_RUN_CORE1
54+  default ARDUINO_EVENT_RUN_CORE0 if FREERTOS_UNICORE
55+  default ARDUINO_EVENT_RUN_CORE1 if !FREERTOS_UNICORE
5256 help
5357 Select on which core Arduino's WiFi.onEvent() run
5458
5559 config ARDUINO_EVENT_RUN_CORE0
5660 bool "CORE 0"
5761 config ARDUINO_EVENT_RUN_CORE1
5862 bool "CORE 1"
63+  depends on !FREERTOS_UNICORE
5964 config ARDUINO_EVENT_RUN_NO_AFFINITY
6065 bool "BOTH"
66+  depends on !FREERTOS_UNICORE
6167
6268endchoice
6369
@@ -69,31 +75,33 @@ config ARDUINO_EVENT_RUNNING_CORE
6975
7076choice ARDUINO_UDP_RUNNING_CORE
7177 bool "Core on which Arduino's UDP is running"
72-  default ARDUINO_UDP_RUN_CORE1 
78+  default ARDUINO_UDP_RUN_CORE0 
7379 help
7480 Select on which core Arduino's UDP run
7581
7682 config ARDUINO_UDP_RUN_CORE0
7783 bool "CORE 0"
7884 config ARDUINO_UDP_RUN_CORE1
7985 bool "CORE 1"
86+  depends on !FREERTOS_UNICORE
8087 config ARDUINO_UDP_RUN_NO_AFFINITY
8188 bool "BOTH"
89+  depends on !FREERTOS_UNICORE
8290
8391endchoice
8492
85- config ARDUINO_UDP_TASK_PRIORITY
86-  int "Priority of the UDP task"
87-  default 3
88-  help
89-  Select at what priority you want the UDP task to run.
90- 
9193config ARDUINO_UDP_RUNNING_CORE
9294 int
9395 default 0 if ARDUINO_UDP_RUN_CORE0
9496 default 1 if ARDUINO_UDP_RUN_CORE1
9597 default -1 if ARDUINO_UDP_RUN_NO_AFFINITY
9698
99+ config ARDUINO_UDP_TASK_PRIORITY
100+  int "Priority of the UDP task"
101+  default 3
102+  help
103+  Select at what priority you want the UDP task to run.
104+ 
97105config ARDUINO_ISR_IRAM
98106 bool "Run interrupts in IRAM"
99107 default "n"
@@ -356,3 +364,4 @@ config ARDUINO_SELECTIVE_Wire
356364
357365
358366endmenu
367+ 
0 commit comments