anchao 25b92edd9f Squashed commit of the following:
apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
    apps/Application.mk: introduce MODULE config to simplify tristate(m)
    apps/nsh:  Change the nuttx shell module type to tristate
    apps:  Add loadable application support
    script/mksymtab:  Generate symbol table name by default
    apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00

66 lines
1.6 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_ONESHOT
bool "Oneshot timer example"
default n
depends on ONESHOT
---help---
Enable the oneshot timer driver example
if EXAMPLES_ONESHOT
config EXAMPLES_ONESHOT_DEVNAME
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.
config EXAMPLES_ONESHOT_DELAY
int "Sample delay (microseconds)"
default 100000
---help---
This is the default delay samples in microseconds if one is not
specified on the command line
config EXAMPLES_ONESHOT_SIGNO
int "Signal number"
default 13
---help---
This is the number of the signal that will be used in the oneshot
notification.
config EXAMPLES_ONESHOT_APPNAME
string "Oneshot timer executable name"
default "oneshot"
depends on NSH_BUILTIN_APPS
---help---
This is the name of the built-in application
config EXAMPLES_ONESHOT_STACKSIZE
int "Oneshot timer stack size"
default 2048
depends on NSH_BUILTIN_APPS
---help---
This is the stack size allocated when the oneshot timer task runs
config EXAMPLES_ONESHOT_PRIORITY
int "Oneshot timer task priority"
default 100
depends on NSH_BUILTIN_APPS
---help---
This is the priority of the oneshot timer task
config EXAMPLES_ONESHOT_PROGNAME
string "Oneshot timer program name"
default "oneshot"
depends on BUILD_LOADABLE
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
endif