summaryrefslogtreecommitdiff
path: root/apps/examples/watchdog/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-15 22:31:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-15 22:31:05 +0000
commit3a4ec3a93203f710ed190244ef98dd544f718b3b (patch)
tree9d64c8ce61b033c342fe18c118e47469098b3720 /apps/examples/watchdog/Kconfig
parent184a2a43e3cb1c86f7eadf915a9f584715e82d35 (diff)
downloadnuttx-3a4ec3a93203f710ed190244ef98dd544f718b3b.tar.gz
nuttx-3a4ec3a93203f710ed190244ef98dd544f718b3b.tar.bz2
nuttx-3a4ec3a93203f710ed190244ef98dd544f718b3b.zip
Add a watchdog timer test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4614 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/watchdog/Kconfig')
-rw-r--r--apps/examples/watchdog/Kconfig40
1 files changed, 40 insertions, 0 deletions
diff --git a/apps/examples/watchdog/Kconfig b/apps/examples/watchdog/Kconfig
new file mode 100644
index 000000000..18daf9327
--- /dev/null
+++ b/apps/examples/watchdog/Kconfig
@@ -0,0 +1,40 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+config EXAMPLES_WATCHDOG
+ bool "Watchdog Timer example"
+ default n
+ ---help---
+ Enable the watchdog timer example
+
+if EXAMPLES_WATCHDOG
+
+config EXAMPLES_WATCHDOG_DEVPATH
+ string "Watchdog device path"
+ default "/dev/watchdog0"
+ ---help---
+ The path to the watchdog device. Default: /dev/watchdog0
+
+config CONFIG_EXAMPLES_WATCHDOG_PINGTIME
+ int "Watchdog ping time"
+ default 5000
+ ---help---
+ Time in milliseconds that the example will ping the watchdog before letting the
+ watchdog expire. Default: 5000 milliseconds.
+
+config CONFIG_EXAMPLES_WATCHDOG_PINGDELAY
+ int "Watchdog ping delay"
+ default 500
+ ---help---
+ Time delay between pings in milliseconds. Default: 500 milliseconds.
+
+config EXAMPLES_WATCHDOG_TIMEOUT
+ int "Watchdog timeout"
+ default 2000
+ ---help---
+ The watchdog timeout value in milliseconds before the watchdog timer
+ expires. Default: 2000 milliseconds.
+
+endif