mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 01:05:14 +00:00
esp_netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
Note: besides the esp-netif component, this commit also disables net_sockets.c from mbedtls, which is one of the base components and uses BSD API (not specifically lwIP). This might be refactored to use CONFIG_SUPPORT_BSD_API instead of CONFIG_ESP_NETIF_TCPIP_LWIP in the future. It also disables smartconfig_ack.c and wifi_init.c from esp_wifi component for referencing some lwIP config options (smartconfig_ack.c changes might be also updated to check CONFIG_SUPPORT_BSD_API) Merges https://github.com/espressif/esp-idf/pull/5856
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "esp_netif.h"
|
||||
#include "esp_netif_private.h"
|
||||
#include "esp_netif_sta_list.h"
|
||||
|
||||
#if CONFIG_ESP_NETIF_LOOPBACK
|
||||
|
||||
@@ -432,7 +433,7 @@ const char *esp_netif_get_desc(esp_netif_t *esp_netif)
|
||||
return esp_netif->if_desc;
|
||||
}
|
||||
|
||||
uint32_t esp_netif_get_event_id(esp_netif_t *esp_netif, esp_netif_ip_event_type_t event_type)
|
||||
int32_t esp_netif_get_event_id(esp_netif_t *esp_netif, esp_netif_ip_event_type_t event_type)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user