diff --git a/Kconfig b/Kconfig index e4122ed..4a0e17a 100644 --- a/Kconfig +++ b/Kconfig @@ -1,5 +1,13 @@ menu "esp-mqtt" +config ESP_MQTT_ENABLED + bool "Enable the MQTT component" + select LWIP_SO_RCVBUF + default y + help + This is currently only used to enforce the selection of LWIP_SO_RCVBUF. + Disabling the component does not actually disable something. + config ESP_MQTT_TASK_STACK_SIZE int "MQTT background process task stack size" default 4096 diff --git a/test/sdkconfig b/test/sdkconfig index 389d3f8..e2ddf59 100644 --- a/test/sdkconfig +++ b/test/sdkconfig @@ -94,6 +94,7 @@ CONFIG_BT_RESERVE_DRAM=0 # # esp-mqtt # +CONFIG_ESP_MQTT_ENABLED=y CONFIG_ESP_MQTT_TASK_STACK_SIZE=4096 CONFIG_ESP_MQTT_TASK_STACK_PRIORITY=5