examples: added ESP-NETIF L2 TAP example

This commit is contained in:
Ondrej Kosta
2022-03-31 14:52:27 +02:00
committed by BOT
parent e4217ff868
commit fcdb0306d0
10 changed files with 577 additions and 0 deletions

View File

@@ -78,6 +78,15 @@ esp_netif_t *get_example_netif(void);
*/
esp_netif_t *get_example_netif_from_desc(const char *desc);
#ifdef CONFIG_EXAMPLE_CONNECT_ETHERNET
/**
* @brief Get the example Ethernet driver handle
*
* @return esp_eth_handle_t
*/
esp_eth_handle_t get_example_eth_handle(void);
#endif // CONFIG_EXAMPLE_CONNECT_ETHERNET
#ifdef __cplusplus
}
#endif