@@ -21,16 +21,19 @@ config AUTOSTART_ARDUINO
21
21
22
22
choice ARDUINO_RUNNING_CORE
23
23
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
25
26
help
26
27
Select on which core Arduino's setup() and loop() functions run
27
28
28
29
config ARDUINO_RUN_CORE0
29
30
bool "CORE 0"
30
31
config ARDUINO_RUN_CORE1
31
32
bool "CORE 1"
33
+ depends on !FREERTOS_UNICORE
32
34
config ARDUINO_RUN_NO_AFFINITY
33
35
bool "BOTH"
36
+ depends on !FREERTOS_UNICORE
34
37
35
38
endchoice
36
39
@@ -48,16 +51,19 @@ config ARDUINO_LOOP_STACK_SIZE
48
51
49
52
choice ARDUINO_EVENT_RUNNING_CORE
50
53
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
52
56
help
53
57
Select on which core Arduino's WiFi.onEvent() run
54
58
55
59
config ARDUINO_EVENT_RUN_CORE0
56
60
bool "CORE 0"
57
61
config ARDUINO_EVENT_RUN_CORE1
58
62
bool "CORE 1"
63
+ depends on !FREERTOS_UNICORE
59
64
config ARDUINO_EVENT_RUN_NO_AFFINITY
60
65
bool "BOTH"
66
+ depends on !FREERTOS_UNICORE
61
67
62
68
endchoice
63
69
@@ -69,31 +75,33 @@ config ARDUINO_EVENT_RUNNING_CORE
69
75
70
76
choice ARDUINO_UDP_RUNNING_CORE
71
77
bool "Core on which Arduino's UDP is running"
72
- default ARDUINO_UDP_RUN_CORE1
78
+ default ARDUINO_UDP_RUN_CORE0
73
79
help
74
80
Select on which core Arduino's UDP run
75
81
76
82
config ARDUINO_UDP_RUN_CORE0
77
83
bool "CORE 0"
78
84
config ARDUINO_UDP_RUN_CORE1
79
85
bool "CORE 1"
86
+ depends on !FREERTOS_UNICORE
80
87
config ARDUINO_UDP_RUN_NO_AFFINITY
81
88
bool "BOTH"
89
+ depends on !FREERTOS_UNICORE
82
90
83
91
endchoice
84
92
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
-
91
93
config ARDUINO_UDP_RUNNING_CORE
92
94
int
93
95
default 0 if ARDUINO_UDP_RUN_CORE0
94
96
default 1 if ARDUINO_UDP_RUN_CORE1
95
97
default -1 if ARDUINO_UDP_RUN_NO_AFFINITY
96
98
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
+
97
105
config ARDUINO_ISR_IRAM
98
106
bool "Run interrupts in IRAM"
99
107
default "n"
@@ -356,3 +364,4 @@ config ARDUINO_SELECTIVE_Wire
356
364
357
365
358
366
endmenu
367
+
0 commit comments