Skip to content

Commit

Permalink
esp_mqtt: add option to configure mqtt task priority.
Browse files Browse the repository at this point in the history
Merges #4947
  • Loading branch information
rezatoune authored and david-cermak committed Apr 24, 2020
1 parent 43175f2 commit 7a9d02a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion components/mqtt/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,22 @@ choice MQTT_TASK_CORE_SELECTION
bool "Core 0"
config MQTT_USE_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
bool "Enable custom outbox implementation"
Expand Down

0 comments on commit 7a9d02a

Please sign in to comment.