46 lines
1002 B
Plaintext
46 lines
1002 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config NETUTILS_NTPCLIENT
|
|
bool "NTP client"
|
|
default n
|
|
depends on NET_UDP && NET_SOCKOPTS
|
|
---help---
|
|
Enable support for the minimal NTP client.
|
|
|
|
if NETUTILS_NTPCLIENT
|
|
|
|
config NETUTILS_NTPCLIENT_SERVER
|
|
string "NTP server URL (or IP address)"
|
|
default "pool.ntp.org"
|
|
depends on LIBC_NETDB
|
|
|
|
config NETUTILS_NTPCLIENT_SERVERIP
|
|
hex "NTP server IP address"
|
|
default 0x0a000001
|
|
depends on !LIBC_NETDB
|
|
|
|
config NETUTILS_NTPCLIENT_PORTNO
|
|
int "NTP server port number"
|
|
default 123
|
|
|
|
config NETUTILS_NTPCLIENT_STACKSIZE
|
|
int "NTP client daemon stack stack size"
|
|
default 2048
|
|
|
|
config NETUTILS_NTPCLIENT_SERVERPRIO
|
|
int "NTP client daemon priority"
|
|
default 100
|
|
|
|
config NETUTILS_NTPCLIENT_POLLDELAYSEC
|
|
int "NTP client poll interval (seconds)"
|
|
default 60
|
|
|
|
config NETUTILS_NTPCLIENT_SIGWAKEUP
|
|
int "NTP client wakeup signal number"
|
|
default 18
|
|
|
|
endif # NETUTILS_NTPCLIENT
|