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

@@ -16,10 +16,8 @@
#include "esp_wifi.h"
#include "esp_event.h"
#if CONFIG_ESP_NETIF_TCPIP_LWIP
#include <string.h>
#include "lwip/sockets.h"
#include "sys/socket.h"
#include "esp_smartconfig.h"
#include "smartconfig_ack.h"
@@ -231,5 +229,3 @@ void sc_send_ack_stop(void)
{
s_sc_ack_send = false;
}
#endif