Skip to content

Commit

Permalink
Do not export private headers as ESP32 component.
Browse files Browse the repository at this point in the history
  • Loading branch information
ciniml committed Jan 11, 2025
1 parent 3c8a8be commit 571a7ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ if (DEFINED ENV{IDF_PATH})
file(GLOB ESP32_CODES "./src/*.c")
idf_component_register(
SRCS ${ESP32_CODES} ${HTTP_SOURCES} ${MQTT_SOURCES} ${MQTT_SERIALIZER_SOURCES}
INCLUDE_DIRS "./src" ${HTTP_INCLUDE_PUBLIC_DIRS} ${MQTT_INCLUDE_PUBLIC_DIRS}
INCLUDE_DIRS "./include" ${HTTP_INCLUDE_PUBLIC_DIRS} ${MQTT_INCLUDE_PUBLIC_DIRS}
PRIV_INCLUDE_DIRS "./src"
REQUIRES mbedtls srtp json esp_netif
)
add_definitions("-DCONFIG_USE_LWIP=1" "-DCONFIG_USE_USRSCTP=0" "-DCONFIG_AUDIO_BUFFER_SIZE=8096" "-DCONFIG_DATA_BUFFER_SIZE=102400" "-D__BYTE_ORDER=__LITTLE_ENDIAN" "-DHTTP_DO_NOT_USE_CUSTOM_CONFIG" "-DMQTT_DO_NOT_USE_CUSTOM_CONFIG")
Expand Down
1 change: 0 additions & 1 deletion examples/esp32/main/app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include "esp_system.h"
#include "esp_tls.h"
#include "freertos/FreeRTOS.h"
#include "mdns.h"
#include "nvs_flash.h"
#include "protocol_examples_common.h"

Expand Down
1 change: 1 addition & 0 deletions include/peer.h
1 change: 1 addition & 0 deletions include/peer_connection.h
1 change: 1 addition & 0 deletions include/peer_signaling.h

0 comments on commit 571a7ad

Please sign in to comment.