From: Angus Gratton Date: Thu, 17 May 2018 03:55:40 +0000 (+0800) Subject: esp32: Component needs public dependency on tcpip_adapter X-Git-Tag: v3.1-rc2~9^2~19^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cf82be9178d2660401bcf45cd22849458eac571;p=esp-idf esp32: Component needs public dependency on tcpip_adapter Because of esp_event.h Closes https://github.com/espressif/esp-idf/issues/1954 --- diff --git a/components/esp32/CMakeLists.txt b/components/esp32/CMakeLists.txt index 3a514d9905..42e14ba197 100644 --- a/components/esp32/CMakeLists.txt +++ b/components/esp32/CMakeLists.txt @@ -20,10 +20,12 @@ else() set(COMPONENT_SRCDIRS ". hwcrypto") set(COMPONENT_ADD_INCLUDEDIRS "include") - set(COMPONENT_REQUIRES driver) # required because esp_sleep.h uses gpio_num_t & touch_pad_t + set(COMPONENT_REQUIRES driver tcpip_adapter) + # driver is a public requirement because esp_sleep.h uses gpio_num_t & touch_pad_t + # tcpip_adapter is a public requirement because esp_event.h uses tcpip_adapter types set(COMPONENT_PRIV_REQUIRES app_trace bootloader_support ethernet log mbedtls nvs_flash - pthread spi_flash tcpip_adapter vfs wpa_supplicant xtensa-debug-module) + pthread spi_flash vfs wpa_supplicant xtensa-debug-module) register_component()