mirror of
https://github.com/espressif/esp-mqtt.git
synced 2026-08-03 20:14:15 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user