@@ -21,14 +21,16 @@ 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"
34
36
depends on !FREERTOS_UNICORE
@@ -49,14 +51,16 @@ config ARDUINO_LOOP_STACK_SIZE
49
51
50
52
choice ARDUINO_EVENT_RUNNING_CORE
51
53
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
53
56
help
54
57
Select on which core Arduino's WiFi.onEvent() run
55
58
56
59
config ARDUINO_EVENT_RUN_CORE0
57
60
bool "CORE 0"
58
61
config ARDUINO_EVENT_RUN_CORE1
59
62
bool "CORE 1"
63
+ depends on !FREERTOS_UNICORE
60
64
config ARDUINO_EVENT_RUN_NO_AFFINITY
61
65
bool "BOTH"
62
66
depends on !FREERTOS_UNICORE
@@ -71,14 +75,16 @@ config ARDUINO_EVENT_RUNNING_CORE
71
75
72
76
choice ARDUINO_SERIAL_EVENT_TASK_RUNNING_CORE
73
77
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
75
80
help
76
81
Select on which core Arduino's Serial Event task run
77
82
78
83
config ARDUINO_SERIAL_EVENT_RUN_CORE0
79
84
bool "CORE 0"
80
85
config ARDUINO_SERIAL_EVENT_RUN_CORE1
81
86
bool "CORE 1"
87
+ depends on !FREERTOS_UNICORE
82
88
config ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY
83
89
bool "BOTH"
84
90
depends on !FREERTOS_UNICORE
@@ -103,22 +109,17 @@ config ARDUINO_SERIAL_EVENT_TASK_PRIORITY
103
109
help
104
110
Select at what priority you want the Serial Event task to run.
105
111
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
-
112
112
choice ARDUINO_UDP_RUNNING_CORE
113
113
bool "Core on which Arduino's UDP is running"
114
- default ARDUINO_UDP_RUN_CORE1
114
+ default ARDUINO_UDP_RUN_CORE0
115
115
help
116
116
Select on which core Arduino's UDP run
117
117
118
118
config ARDUINO_UDP_RUN_CORE0
119
119
bool "CORE 0"
120
120
config ARDUINO_UDP_RUN_CORE1
121
121
bool "CORE 1"
122
+ depends on !FREERTOS_UNICORE
122
123
config ARDUINO_UDP_RUN_NO_AFFINITY
123
124
bool "BOTH"
124
125
depends on !FREERTOS_UNICORE
@@ -131,6 +132,12 @@ config ARDUINO_UDP_RUNNING_CORE
131
132
default 1 if ARDUINO_UDP_RUN_CORE1
132
133
default -1 if ARDUINO_UDP_RUN_NO_AFFINITY
133
134
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
+
134
141
config ARDUINO_ISR_IRAM
135
142
bool "Run interrupts in IRAM"
136
143
default "n"
0 commit comments