nuttx-apps/netutils/ntpclient/Kconfig
Gregory Nutt 8f5944c4a8 Squashed commit of the following:
include/ and netutils/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    nshlib/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    system/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    testing/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
    examples/:  Remove references to CONFIG_DISABLE_SIGNALS.  Signals can no longer be disabled.
2019-04-29 14:53:38 -06:00

46 lines
986 B
Plaintext
Executable File

#
# 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
---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