2016-08-12 22:20:52 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_ONESHOT
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Oneshot timer example"
|
2016-08-12 22:20:52 +02:00
|
|
|
default n
|
|
|
|
depends on ONESHOT
|
|
|
|
---help---
|
|
|
|
Enable the oneshot timer driver example
|
|
|
|
|
|
|
|
if EXAMPLES_ONESHOT
|
|
|
|
|
2017-08-24 21:37:36 +02:00
|
|
|
config EXAMPLES_ONESHOT_DEVNAME
|
2016-08-12 22:20:52 +02:00
|
|
|
string "Oneshot time device name"
|
|
|
|
default "/dev/oneshot"
|
|
|
|
---help---
|
|
|
|
This is the default name of the timer device that will be tested if
|
|
|
|
one is not specified on the command line.
|
|
|
|
|
2017-08-24 21:37:36 +02:00
|
|
|
config EXAMPLES_ONESHOT_DELAY
|
2016-08-12 22:20:52 +02:00
|
|
|
int "Sample delay (microseconds)"
|
2022-02-24 14:15:25 +01:00
|
|
|
default 2000000
|
2016-08-12 22:20:52 +02:00
|
|
|
---help---
|
|
|
|
This is the default delay samples in microseconds if one is not
|
|
|
|
specified on the command line
|
|
|
|
|
2017-08-24 21:37:36 +02:00
|
|
|
config EXAMPLES_ONESHOT_SIGNO
|
2016-08-12 22:20:52 +02:00
|
|
|
int "Signal number"
|
2023-03-25 00:07:59 +01:00
|
|
|
default 32
|
2016-08-12 22:20:52 +02:00
|
|
|
---help---
|
|
|
|
This is the number of the signal that will be used in the oneshot
|
|
|
|
notification.
|
|
|
|
|
|
|
|
config EXAMPLES_ONESHOT_STACKSIZE
|
|
|
|
int "Oneshot timer stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2016-08-12 22:20:52 +02:00
|
|
|
---help---
|
|
|
|
This is the stack size allocated when the oneshot timer task runs
|
|
|
|
|
|
|
|
config EXAMPLES_ONESHOT_PRIORITY
|
|
|
|
int "Oneshot timer task priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
This is the priority of the oneshot timer task
|
|
|
|
|
|
|
|
config EXAMPLES_ONESHOT_PROGNAME
|
|
|
|
string "Oneshot timer program name"
|
|
|
|
default "oneshot"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2016-08-12 22:20:52 +02:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
endif
|