mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
esp_mqtt: add option to configure mqtt task priority.
Merges https://github.com/espressif/esp-idf/pull/4947
This commit is contained in:
committed by
David Cermak
parent
43175f22e9
commit
7a9d02a18b
@@ -91,7 +91,22 @@ choice MQTT_TASK_CORE_SELECTION
|
|||||||
bool "Core 0"
|
bool "Core 0"
|
||||||
config MQTT_USE_CORE_1
|
config MQTT_USE_CORE_1
|
||||||
bool "Core 1"
|
bool "Core 1"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config MQTT_DISABLE_API_LOCKS
|
||||||
|
bool "Disable API locks"
|
||||||
|
default n
|
||||||
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
|
help
|
||||||
|
Default config employs API locks to protect internal structures. It is possible to disable
|
||||||
|
these locks if the user code doesn't access MQTT API from multiple concurrent tasks
|
||||||
|
|
||||||
|
config MQTT_TASK_PRIORITY
|
||||||
|
int "MQTT task priority"
|
||||||
|
default 5
|
||||||
|
depends on MQTT_USE_CUSTOM_CONFIG
|
||||||
|
help
|
||||||
|
MQTT task priority. Higher number denotes higher priority.
|
||||||
|
|
||||||
config MQTT_CUSTOM_OUTBOX
|
config MQTT_CUSTOM_OUTBOX
|
||||||
bool "Enable custom outbox implementation"
|
bool "Enable custom outbox implementation"
|
||||||
|
Submodule components/mqtt/esp-mqtt updated: 86fc8b7584...d8e2081332
Reference in New Issue
Block a user