From faefee48971cc4f54bf3ed693cf673c8c1645ccf Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Mon, 18 Aug 2025 16:59:09 +0800 Subject: [PATCH] MQTT-C: compile tests only if no with_mbedtls is enabled tests only supports tests in non-encrypted mode. when we open tests compilation in other modes, there will be many compilation warning with mismatched parameter types, and it will not run correctly. Signed-off-by: zhanghongyu --- netutils/mqttc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/netutils/mqttc/Kconfig b/netutils/mqttc/Kconfig index aa8e23d04..973c5bb4a 100644 --- a/netutils/mqttc/Kconfig +++ b/netutils/mqttc/Kconfig @@ -19,6 +19,7 @@ config NETUTILS_MQTTC_EXAMPLE config NETUTILS_MQTTC_TEST tristate "Enable MQTT-C test" + depends on !NETUTILS_MQTTC_WITH_MBEDTLS default n if NETUTILS_MQTTC_EXAMPLE