summaryrefslogtreecommitdiff
path: root/apps/netutils/ntpclient/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/netutils/ntpclient/Kconfig')
-rwxr-xr-xapps/netutils/ntpclient/Kconfig35
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/netutils/ntpclient/Kconfig b/apps/netutils/ntpclient/Kconfig
new file mode 100755
index 000000000..fe0371197
--- /dev/null
+++ b/apps/netutils/ntpclient/Kconfig
@@ -0,0 +1,35 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+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_SERVERIP
+ hex "NTP server IP address"
+ default 0x0a000001
+
+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
+
+endif # NETUTILS_NTPCLIENT