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
2022-05-02 15:47:05 +02:00
committed by Euripedes Rocha
parent b80d4d468c
commit 62c5545f2d

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)