esp-idf/components/esp_eth/include/esp_eth.h
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

17 lines
532 B
C

/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
/**
* Purpose of this file is to create a common header for the typical ethernet usecase,
* so using the ethernet driver and the default glue layer to its network interface.
*
* If you prefer to create a custom network interface or use the Ethernet as a driver only,
* then it is recommended to include the "esp_eth_driver.h" only.
*/
#include "esp_eth_driver.h"
#include "esp_eth_netif_glue.h"