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 David Čermák
parent 680f3a50c2
commit 5e19b9c951
14 changed files with 44 additions and 16 deletions

View File

@@ -14,7 +14,7 @@
#include "freertos/queue.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_eth.h"
#include "esp_eth_driver.h"
#include "esp_wifi.h"
#include "nvs_flash.h"
#include "esp_private/wifi.h"