Skip to content

Commit 05052af

Browse files
committed
Added CONFIG_FREERTOS_UNICORE
1 parent d024d98 commit 05052af

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

Diff for: Kconfig.projbuild

+19-15
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ choice ARDUINO_RUNNING_CORE
3131
bool "CORE 1"
3232
config ARDUINO_RUN_NO_AFFINITY
3333
bool "BOTH"
34+
depends on !CONFIG_FREERTOS_UNICORE
3435

3536
endchoice
3637

@@ -58,6 +59,7 @@ choice ARDUINO_EVENT_RUNNING_CORE
5859
bool "CORE 1"
5960
config ARDUINO_EVENT_RUN_NO_AFFINITY
6061
bool "BOTH"
62+
depends on !CONFIG_FREERTOS_UNICORE
6163

6264
endchoice
6365

@@ -67,21 +69,6 @@ config ARDUINO_EVENT_RUNNING_CORE
6769
default 1 if ARDUINO_EVENT_RUN_CORE1
6870
default -1 if ARDUINO_EVENT_RUN_NO_AFFINITY
6971

70-
choice ARDUINO_UDP_RUNNING_CORE
71-
bool "Core on which Arduino's UDP is running"
72-
default ARDUINO_UDP_RUN_CORE1
73-
help
74-
Select on which core Arduino's UDP run
75-
76-
config ARDUINO_UDP_RUN_CORE0
77-
bool "CORE 0"
78-
config ARDUINO_UDP_RUN_CORE1
79-
bool "CORE 1"
80-
config ARDUINO_UDP_RUN_NO_AFFINITY
81-
bool "BOTH"
82-
83-
endchoice
84-
8572
choice ARDUINO_SERIAL_EVENT_TASK_RUNNING_CORE
8673
bool "Core on which Arduino's Serial Event task is running"
8774
default ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY
@@ -94,6 +81,7 @@ choice ARDUINO_SERIAL_EVENT_TASK_RUNNING_CORE
9481
bool "CORE 1"
9582
config ARDUINO_SERIAL_EVENT_RUN_NO_AFFINITY
9683
bool "BOTH"
84+
depends on !CONFIG_FREERTOS_UNICORE
9785

9886
endchoice
9987

@@ -121,6 +109,22 @@ config ARDUINO_UDP_TASK_PRIORITY
121109
help
122110
Select at what priority you want the UDP task to run.
123111

112+
choice ARDUINO_UDP_RUNNING_CORE
113+
bool "Core on which Arduino's UDP is running"
114+
default ARDUINO_UDP_RUN_CORE1
115+
help
116+
Select on which core Arduino's UDP run
117+
118+
config ARDUINO_UDP_RUN_CORE0
119+
bool "CORE 0"
120+
config ARDUINO_UDP_RUN_CORE1
121+
bool "CORE 1"
122+
config ARDUINO_UDP_RUN_NO_AFFINITY
123+
bool "BOTH"
124+
depends on !CONFIG_FREERTOS_UNICORE
125+
126+
endchoice
127+
124128
config ARDUINO_UDP_RUNNING_CORE
125129
int
126130
default 0 if ARDUINO_UDP_RUN_CORE0

0 commit comments

Comments
 (0)