Add pico_lwip_mqtt library (#948)

This commit is contained in:
Thomas Roberts 2022-08-08 15:14:01 +01:00 committed by GitHub
parent 2ebba462ac
commit 150be75aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -223,7 +223,7 @@ if (EXISTS ${PICO_LWIP_PATH}/${LWIP_TEST_PATH})
${PICO_LWIP_PATH}/src/apps/tftp/tftp.c ${PICO_LWIP_PATH}/src/apps/tftp/tftp.c
) )
# MQTT client files # Mbed TLS files
add_library(pico_lwip_mbedtls INTERFACE) add_library(pico_lwip_mbedtls INTERFACE)
target_sources(pico_lwip_mbedtls INTERFACE target_sources(pico_lwip_mbedtls INTERFACE
${PICO_LWIP_PATH}/src/apps/altcp_tls/altcp_tls_mbedtls.c ${PICO_LWIP_PATH}/src/apps/altcp_tls/altcp_tls_mbedtls.c
@ -231,6 +231,11 @@ if (EXISTS ${PICO_LWIP_PATH}/${LWIP_TEST_PATH})
${PICO_LWIP_PATH}/src/apps/snmp/snmpv3_mbedtls.c ${PICO_LWIP_PATH}/src/apps/snmp/snmpv3_mbedtls.c
) )
# MQTT client files
add_library(pico_lwip_mqtt INTERFACE)
target_sources(pico_lwip_mqtt INTERFACE
${PICO_LWIP_PATH}/src/apps/mqtt/mqtt.c
)
# All LWIP files without apps # All LWIP files without apps
add_library(pico_lwip INTERFACE) add_library(pico_lwip INTERFACE)

View File

@ -24,6 +24,7 @@
* * \c \b pico_lwip_netbios - * * \c \b pico_lwip_netbios -
* * \c \b pico_lwip_tftp - * * \c \b pico_lwip_tftp -
* * \c \b pico_lwip_mbedtls - * * \c \b pico_lwip_mbedtls -
* * \c \b pico_lwip_mqtt -
* *
* The SDK Provides a common set of functionality in \c \p pico_lwip which aggregates: * The SDK Provides a common set of functionality in \c \p pico_lwip which aggregates:
* *