tcp_transport: renamed transport related header files to esp_ prefixed to avoid collisions

tcp_transport component used public header files such as 'transport.h', etc. which are too generic and might collide with user or user libraries headers
This change closes #2417
This commit is contained in:
David Cermak
2018-09-25 10:34:04 +02:00
committed by Euripedes Rocha
parent 78233fe7de
commit 71d6861d6a
2 changed files with 2 additions and 11 deletions

View File

@ -3,17 +3,8 @@ set(COMPONENT_PRIV_INCLUDEDIRS "esp-mqtt/lib/include")
set(COMPONENT_SRCS "esp-mqtt/mqtt_client.c"
"esp-mqtt/lib/mqtt_msg.c"
"esp-mqtt/lib/mqtt_outbox.c"
"esp-mqtt/lib/platform_esp32_idf.c"
"esp-mqtt/lib/transport_ws.c")
"esp-mqtt/lib/platform_esp32_idf.c")
set(COMPONENT_REQUIRES lwip nghttp mbedtls tcp_transport)
register_component()
if(GCC_NOT_5_2_0)
# Temporary suppress "format-overflow" warning until we are fixed in esp-mqtt repo
set_source_files_properties(
esp-mqtt/lib/transport_ws.c
PROPERTIES COMPILE_FLAGS
-Wno-format-overflow)
endif()

Submodule components/mqtt/esp-mqtt updated: bcb38e45f5...ca893e2c23