Because of esp_event.h
Closes https://github.com/espressif/esp-idf/issues/1954
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()