esp-idf/examples/ethernet/enc28j60/components/eth_enc28j60/CMakeLists.txt
David Cermak 5e19b9c951 esp-netif: Make dependency on esp-eth optional
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00

5 lines
199 B
CMake

idf_component_register(SRCS "esp_eth_mac_enc28j60.c"
"esp_eth_phy_enc28j60.c"
PRIV_REQUIRES driver esp_eth
INCLUDE_DIRS ".")