esp-idf/components/ethernet/CMakeLists.txt
2019-06-11 13:07:37 +08:00

15 lines
459 B
CMake

if(IDF_TARGET STREQUAL "esp32")
set(COMPONENT_SRCS "emac_dev.c"
"emac_main.c"
"eth_phy/phy_common.c"
"eth_phy/phy_lan8720.c"
"eth_phy/phy_tlk110.c"
"eth_phy/phy_ip101.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
set(COMPONENT_REQUIRES)
set(COMPONENT_PRIV_REQUIRES tcpip_adapter esp_event soc)
register_component()
endif()