14 lines
331 B
CMake
14 lines
331 B
CMake
set(priv_requires esp_netif esp_wifi nvs_flash)
|
|
set(requires "")
|
|
|
|
if(CONFIG_SOC_EMAC_SUPPORTED)
|
|
list(APPEND priv_requires esp_eth esp_driver_gpio ethernet_init)
|
|
list(APPEND requires lan87xx)
|
|
endif()
|
|
|
|
idf_component_register(
|
|
SRC_DIRS "."
|
|
PRIV_REQUIRES ${priv_requires}
|
|
REQUIRES ${requires}
|
|
INCLUDE_DIRS "."
|
|
) |