@@ -19,6 +19,70 @@ config AUTOSTART_ARDUINO
19
19
If disabled, you can call initArduino() to run any preparations
20
20
required by the framework
21
21
22
+ choice ARDUINO_RUNNING_CORE
23
+ bool "Core on which Arduino's setup() and loop() are running"
24
+ default ARDUINO_RUN_CORE1
25
+ help
26
+ Select on which core Arduino's setup() and loop() functions run
27
+
28
+ config ARDUINO_RUN_CORE0
29
+ bool "CORE 0"
30
+ config ARDUINO_RUN_CORE1
31
+ bool "CORE 1"
32
+ config ARDUINO_RUN_NO_AFFINITY
33
+ bool "BOTH"
34
+
35
+ endchoice
36
+
37
+ config ARDUINO_RUNNING_CORE
38
+ int
39
+ default 0 if ARDUINO_RUN_CORE0
40
+ default 1 if ARDUINO_RUN_CORE1
41
+ default -1 if ARDUINO_RUN_NO_AFFINITY
42
+
43
+ choice ARDUINO_EVENT_RUNNING_CORE
44
+ bool "Core on which Arduino's event handler is running"
45
+ default ARDUINO_EVENT_RUN_CORE1
46
+ help
47
+ Select on which core Arduino's WiFi.onEvent() run
48
+
49
+ config ARDUINO_EVENT_RUN_CORE0
50
+ bool "CORE 0"
51
+ config ARDUINO_EVENT_RUN_CORE1
52
+ bool "CORE 1"
53
+ config ARDUINO_EVENT_RUN_NO_AFFINITY
54
+ bool "BOTH"
55
+
56
+ endchoice
57
+
58
+ config ARDUINO_EVENT_RUNNING_CORE
59
+ int
60
+ default 0 if ARDUINO_EVENT_RUN_CORE0
61
+ default 1 if ARDUINO_EVENT_RUN_CORE1
62
+ default -1 if ARDUINO_EVENT_RUN_NO_AFFINITY
63
+
64
+ choice ARDUINO_UDP_RUNNING_CORE
65
+ bool "Core on which Arduino's UDP is running"
66
+ default ARDUINO_UDP_RUN_CORE1
67
+ help
68
+ Select on which core Arduino's UDP run
69
+
70
+ config ARDUINO_UDP_RUN_CORE0
71
+ bool "CORE 0"
72
+ config ARDUINO_UDP_RUN_CORE1
73
+ bool "CORE 1"
74
+ config ARDUINO_UDP_RUN_NO_AFFINITY
75
+ bool "BOTH"
76
+
77
+ endchoice
78
+
79
+ config ARDUINO_UDP_RUNNING_CORE
80
+ int
81
+ default 0 if ARDUINO_UDP_RUN_CORE0
82
+ default 1 if ARDUINO_UDP_RUN_CORE1
83
+ default -1 if ARDUINO_UDP_RUN_NO_AFFINITY
84
+
85
+
22
86
config DISABLE_HAL_LOCKS
23
87
bool "Disable mutex locks for HAL"
24
88
default "n"
0 commit comments