Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9819b81

Browse files
LWIP: support SNTP over DHCP (espressif#51)
- 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
1 parent 3b85a7d commit 9819b81

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎sdkconfig.esp32‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,8 @@ CONFIG_LWIP_MAX_RAW_PCBS=16
11141114
#
11151115
# SNTP
11161116
#
1117-
CONFIG_LWIP_SNTP_MAX_SERVERS=1
1118-
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
1117+
CONFIG_LWIP_SNTP_MAX_SERVERS=3
1118+
CONFIG_LWIP_DHCP_GET_NTP_SRV=y
11191119
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
11201120
# end of SNTP
11211121

‎sdkconfig.esp32c3‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,8 +1131,8 @@ CONFIG_LWIP_MAX_RAW_PCBS=16
11311131
#
11321132
# SNTP
11331133
#
1134-
CONFIG_LWIP_SNTP_MAX_SERVERS=1
1135-
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
1134+
CONFIG_LWIP_SNTP_MAX_SERVERS=3
1135+
CONFIG_LWIP_DHCP_GET_NTP_SRV=y
11361136
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
11371137
# end of SNTP
11381138

‎sdkconfig.esp32s2‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,8 +964,8 @@ CONFIG_LWIP_MAX_RAW_PCBS=16
964964
#
965965
# SNTP
966966
#
967-
CONFIG_LWIP_SNTP_MAX_SERVERS=1
968-
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
967+
CONFIG_LWIP_SNTP_MAX_SERVERS=3
968+
CONFIG_LWIP_DHCP_GET_NTP_SRV=y
969969
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
970970
# end of SNTP
971971

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /