- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7.9k
lwip: menuconfig option for max number of SNTP servers (IDFGH-5616) #7336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
LWIP has two definess for setting max number of sntp servers: - Total number of handled servers - max number of sntp's picked via DHCP by default both values are equal to 1, but could be set separately Signed-off-by: Emil Muratov <[email protected]>
| Thanks for your contribution. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a question and an optional suggestion.
This could be toggled on/off, off is the default. SNTP debug option. Example update for ntp via DHCP Signed-off-by: Emil Muratov <[email protected]>
| @david-cermak I've updated notes for menuoption, also added NTP  debug option and sntp example to utilize SNTP via DHCP if build-in. | 
| @vortigont Thanks for the prompt update and addressing the concern of misconfiguration. | 
- 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
- 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
LWIP has two define's for setting max number of sntp servers:
by default both values are equal to 1, but could be set separately.
This is a followup for espressif/arduino-esp32#5343. Having this menuconfig option allows building lwip for arduino-esp32 with multiple sntps's supported