kopia lustrzana https://github.com/espressif/esp-idf
15 wiersze
459 B
CMake
15 wiersze
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()
|