This is an automated email from the ASF dual-hosted git repository.

ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new faefee489 MQTT-C: compile tests only if no with_mbedtls is enabled
faefee489 is described below

commit faefee48971cc4f54bf3ed693cf673c8c1645ccf
Author: zhanghongyu <[email protected]>
AuthorDate: Mon Aug 18 16:59:09 2025 +0800

    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 <[email protected]>
---
 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

Reply via email to