mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			17 lines
		
	
	
		
			532 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			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"
 |