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
This commit is contained in:
David Cermak authored and Euripedes Rocha committed 2022-12-16 08:38:48 +01:00
1 parent b80d4d468c
commit 62c5545f2d
1 file changed
+1 -1
+1 -1
View File
@@ -1,2 +1,2 @@
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update)
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth)