2014-04-11 02:15:06 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-04-11 02:15:06 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
config NETUTILS_NTPCLIENT
|
|
|
|
bool "NTP client"
|
|
|
|
default n
|
2019-12-05 14:09:27 +01:00
|
|
|
depends on NET_UDP && NET_SOCKOPTS
|
2014-04-11 02:15:06 +02:00
|
|
|
---help---
|
|
|
|
Enable support for the minimal NTP client.
|
|
|
|
|
|
|
|
if NETUTILS_NTPCLIENT
|
|
|
|
|
2016-07-11 01:47:07 +02:00
|
|
|
config NETUTILS_NTPCLIENT_SERVER
|
|
|
|
string "NTP server URL (or IP address)"
|
|
|
|
default "pool.ntp.org"
|
|
|
|
depends on LIBC_NETDB
|
|
|
|
|
2014-04-11 02:15:06 +02:00
|
|
|
config NETUTILS_NTPCLIENT_SERVERIP
|
|
|
|
hex "NTP server IP address"
|
|
|
|
default 0x0a000001
|
2016-07-11 01:47:07 +02:00
|
|
|
depends on !LIBC_NETDB
|
2014-04-11 02:15:06 +02:00
|
|
|
|
|
|
|
config NETUTILS_NTPCLIENT_PORTNO
|
|
|
|
int "NTP server port number"
|
2014-04-14 00:24:28 +02:00
|
|
|
default 123
|
2014-04-11 02:15:06 +02:00
|
|
|
|
|
|
|
config NETUTILS_NTPCLIENT_STACKSIZE
|
|
|
|
int "NTP client daemon stack stack size"
|
|
|
|
default 2048
|
|
|
|
|
|
|
|
config NETUTILS_NTPCLIENT_SERVERPRIO
|
|
|
|
int "NTP client daemon priority"
|
2014-04-14 00:24:28 +02:00
|
|
|
default 100
|
2014-04-11 02:15:06 +02:00
|
|
|
|
|
|
|
config NETUTILS_NTPCLIENT_POLLDELAYSEC
|
|
|
|
int "NTP client poll interval (seconds)"
|
2014-04-14 00:24:28 +02:00
|
|
|
default 60
|
2014-04-11 02:15:06 +02:00
|
|
|
|
2014-04-11 16:27:15 +02:00
|
|
|
config NETUTILS_NTPCLIENT_SIGWAKEUP
|
|
|
|
int "NTP client wakeup signal number"
|
|
|
|
default 18
|
|
|
|
|
2014-04-11 02:15:06 +02:00
|
|
|
endif # NETUTILS_NTPCLIENT
|