From 12d90bd2662d2307ce4e072e7906bf56dd188b6f Mon Sep 17 00:00:00 2001 From: Emil Muratov Date: Tue, 2 Nov 2021 14:04:01 +0300 Subject: [PATCH] LWIP: support SNTP over DHCP - increase default number of NTP servers up to 3 (match with Arduino esp8266) - activate SNTP over DHCP requests (match with Arduino esp8266) addressing issue espressif/arduino-esp32#4964 provided via espressif/esp-idf#7336 --- sdkconfig.esp32 | 4 ++-- sdkconfig.esp32c3 | 4 ++-- sdkconfig.esp32s2 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdkconfig.esp32 b/sdkconfig.esp32 index b9a5cea8..8407a4a2 100644 --- a/sdkconfig.esp32 +++ b/sdkconfig.esp32 @@ -1112,8 +1112,8 @@ CONFIG_LWIP_MAX_RAW_PCBS=16 # # SNTP # -CONFIG_LWIP_SNTP_MAX_SERVERS=1 -# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set +CONFIG_LWIP_SNTP_MAX_SERVERS=3 +CONFIG_LWIP_DHCP_GET_NTP_SRV=y CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000 # end of SNTP diff --git a/sdkconfig.esp32c3 b/sdkconfig.esp32c3 index 068b8616..9da6612f 100644 --- a/sdkconfig.esp32c3 +++ b/sdkconfig.esp32c3 @@ -1127,8 +1127,8 @@ CONFIG_LWIP_MAX_RAW_PCBS=16 # # SNTP # -CONFIG_LWIP_SNTP_MAX_SERVERS=1 -# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set +CONFIG_LWIP_SNTP_MAX_SERVERS=3 +CONFIG_LWIP_DHCP_GET_NTP_SRV=y CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000 # end of SNTP diff --git a/sdkconfig.esp32s2 b/sdkconfig.esp32s2 index 54a64f90..133e9fa1 100644 --- a/sdkconfig.esp32s2 +++ b/sdkconfig.esp32s2 @@ -962,8 +962,8 @@ CONFIG_LWIP_MAX_RAW_PCBS=16 # # SNTP # -CONFIG_LWIP_SNTP_MAX_SERVERS=1 -# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set +CONFIG_LWIP_SNTP_MAX_SERVERS=3 +CONFIG_LWIP_DHCP_GET_NTP_SRV=y CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000 # end of SNTP pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy