Adding ESP32 core selection for MQTT task (#53)

* Adding core selection in KConfig and starting thread with those parameters

* Updating for code consistency
This commit is contained in:
Tony
2018-07-25 08:58:38 +02:00
committed by Tuan
parent c26f1dc607
commit da573b482b
3 changed files with 41 additions and 4 deletions
+15
View File
@@ -78,4 +78,19 @@ config MQTT_TASK_STACK_SIZE
help
MQTT task stack size
config MQTT_TASK_CORE_SELECTION_ENABLED
bool "Enable MQTT task core selection"
default false
help
This will enable core selection
choice
depends on MQTT_TASK_CORE_SELECTION_ENABLED
prompt "Core to use ?"
config MQTT_USE_CORE_0
bool "Core 0"
config MQTT_USE_CORE_1
bool "Core 1"
endchoice
endmenu