mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
Merge branch 'feature/update_lwip_component' into 'master'
feat(lw-ip): update lw-ip from idf See merge request sdk/ESP8266_RTOS_SDK!1521
This commit is contained in:
@ -601,6 +601,20 @@ menu "LWIP"
|
||||
This would in turn fail the configuration for the whole link.
|
||||
If your modem is not responding correctly to PPP Phase Network, try to disable IPV6 support.
|
||||
|
||||
config LWIP_IPV6_MEMP_NUM_ND6_QUEUE
|
||||
int "Max number of IPv6 packets to queue during MAC resolution"
|
||||
range 3 20
|
||||
default 3
|
||||
help
|
||||
Config max number of IPv6 packets to queue during MAC resolution.
|
||||
|
||||
config LWIP_IPV6_ND6_NUM_NEIGHBORS
|
||||
int "Max number of entries in IPv6 neighbor cache"
|
||||
range 3 10
|
||||
default 5
|
||||
help
|
||||
Config max number of entries in IPv6 neighbor cache
|
||||
|
||||
config LWIP_PPP_NOTIFY_PHASE_SUPPORT
|
||||
bool "Enable Notify Phase Callback"
|
||||
depends on LWIP_PPP_SUPPORT
|
||||
@ -703,4 +717,43 @@ menu "LWIP"
|
||||
Enable this option allows lwip to check assert.
|
||||
It is recommended to keep it open, do not close it.
|
||||
|
||||
menu "Debug"
|
||||
|
||||
config LWIP_NETIF_DEBUG
|
||||
bool "Enable netif debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_PBUF_DEBUG
|
||||
bool "Enable pbuf debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_ETHARP_DEBUG
|
||||
bool "Enable etharp debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_API_LIB_DEBUG
|
||||
bool "Enable api lib debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_SOCKETS_DEBUG
|
||||
bool "Enable socket debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_IP_DEBUG
|
||||
bool "Enable IP debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_ICMP_DEBUG
|
||||
bool "Enable ICMP debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_IP6_DEBUG
|
||||
bool "Enable IP6 debug messages"
|
||||
default n
|
||||
|
||||
config LWIP_ICMP6_DEBUG
|
||||
bool "Enable ICMP6 debug messages"
|
||||
default n
|
||||
|
||||
endmenu #debug
|
||||
endmenu
|
||||
|
Submodule components/lwip/lwip updated: ffd1059c9a...f13c986a20
@ -736,6 +736,16 @@
|
||||
*/
|
||||
#define LWIP_IPV6 CONFIG_LWIP_IPV6
|
||||
|
||||
/**
|
||||
* MEMP_NUM_ND6_QUEUE: Max number of IPv6 packets to queue during MAC resolution.
|
||||
*/
|
||||
#define MEMP_NUM_ND6_QUEUE CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE
|
||||
|
||||
/**
|
||||
* LWIP_ND6_NUM_NEIGHBORS: Number of entries in IPv6 neighbor cache
|
||||
*/
|
||||
#define LWIP_ND6_NUM_NEIGHBORS CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS
|
||||
|
||||
/*
|
||||
---------------------------------------
|
||||
---------- Hook options ---------------
|
||||
@ -750,37 +760,82 @@
|
||||
/**
|
||||
* ETHARP_DEBUG: Enable debugging in etharp.c.
|
||||
*/
|
||||
#define ETHARP_DEBUG LWIP_DBG_OFF
|
||||
#ifdef CONFIG_LWIP_ETHARP_DEBUG
|
||||
#define ETHARP_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define ETHARP_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* NETIF_DEBUG: Enable debugging in netif.c.
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_NETIF_DEBUG
|
||||
#define NETIF_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define NETIF_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* PBUF_DEBUG: Enable debugging in pbuf.c.
|
||||
*/
|
||||
#define PBUF_DEBUG LWIP_DBG_OFF
|
||||
#ifdef CONFIG_LWIP_PBUF_DEBUG
|
||||
#define PBUF_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define PBUF_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* API_LIB_DEBUG: Enable debugging in api_lib.c.
|
||||
*/
|
||||
#define API_LIB_DEBUG LWIP_DBG_OFF
|
||||
#ifdef CONFIG_LWIP_API_LIB_DEBUG
|
||||
#define API_LIB_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define API_LIB_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* SOCKETS_DEBUG: Enable debugging in sockets.c.
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_SOCKETS_DEBUG
|
||||
#define SOCKETS_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define SOCKETS_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* ICMP_DEBUG: Enable debugging in icmp.c.
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_ICMP_DEBUG
|
||||
#define ICMP_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define ICMP_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LWIP_ICMP6_DEBUG
|
||||
#define ICMP6_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define ICMP6_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* IP_DEBUG: Enable debugging for IP.
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_IP_DEBUG
|
||||
#define IP_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define IP_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* IP_DEBUG: Enable debugging for IP.
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_IP6_DEBUG
|
||||
#define IP6_DEBUG LWIP_DBG_ON
|
||||
#else
|
||||
#define IP6_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MEMP_DEBUG: Enable debugging in memp.c.
|
||||
|
Reference in New Issue
Block a user