esp-netif/lwip: Introduce TCP/IP stack has BSD API

* This variable is automatically selected when lwip stack is chosen
* This commit also fixes lwip loopback configuration
This commit is contained in:
David Cermak
2022-09-23 08:59:37 +02:00
committed by David Čermák
parent fab39d2c4b
commit 678d7aadd9
10 changed files with 30 additions and 33 deletions

View File

@@ -17,8 +17,6 @@
#include "esp_netif_private.h"
#include "esp_random.h"
#if defined(CONFIG_ESP_NETIF_TCPIP_LWIP)
#include "lwip/tcpip.h"
#include "lwip/dhcp.h"
#include "lwip/ip_addr.h"
@@ -2275,5 +2273,3 @@ esp_err_t esp_netif_remove_ip6_address(esp_netif_t *esp_netif, const esp_ip6_add
_RUN_IN_LWIP_TASK(esp_netif_remove_ip6_address_api, esp_netif, addr)
#endif // CONFIG_LWIP_IPV6
#endif /* CONFIG_ESP_NETIF_TCPIP_LWIP */