IDF release/v4.0 a3f3c7bdc

This commit is contained in:
me-no-dev
2020-04-07 00:12:32 +00:00
parent 2271c7726d
commit b47b0dc966
130 changed files with 1032 additions and 447 deletions

View File

@ -1010,6 +1010,13 @@
#define LWIP_DHCP_AUTOIP_COOP 0
#endif
/**
* ESP_IPV6_AUTOCONFIG==1: Enable stateless address autoconfiguration as per RFC 4862.
*/
#if !defined ESP_IPV6_AUTOCONFIG
#define ESP_IPV6_AUTOCONFIG 0
#endif
/**
* LWIP_DHCP_AUTOIP_COOP_TRIES: Set to the number of DHCP DISCOVER probes
* that should be sent before falling back on AUTOIP (the DHCP client keeps

View File

@ -757,7 +757,6 @@
#define ESP_THREAD_SAFE_DEBUG LWIP_DBG_OFF
#define ESP_DHCP 1
#define ESP_DNS 1
#define ESP_IPV6_AUTOCONFIG 1
#define ESP_PERF 0
#define ESP_RANDOM_TCP_PORT 1
#define ESP_IP4_ATON 1
@ -781,6 +780,10 @@
#define ESP_LWIP_SELECT 1
#define ESP_LWIP_LOCK 1
#ifdef CONFIG_LWIP_IPV6_AUTOCONFIG
#define ESP_IPV6_AUTOCONFIG CONFIG_LWIP_IPV6_AUTOCONFIG
#endif
#ifdef ESP_IRAM_ATTR
#undef ESP_IRAM_ATTR
#endif

View File

@ -47,7 +47,7 @@ extern "C" {
struct pppapi_msg_msg {
ppp_pcb *ppp;
union {
#if ESP_PPP
#if ESP_PPP && PPP_AUTH_SUPPORT
struct {
u8_t authtype;
const char *user;
@ -111,7 +111,7 @@ struct pppapi_msg {
/* API for application */
err_t pppapi_set_default(ppp_pcb *pcb);
#if ESP_PPP
#if ESP_PPP && PPP_AUTH_SUPPORT
void pppapi_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passwd);
#endif
#if PPP_NOTIFY_PHASE