nuttx-apps/examples/timer/Kconfig
anchao 220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     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-23 11:06:15 -06:00

76 lines
1.7 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_TIMER
bool "Timer example"
default n
depends on TIMER && BUILD_FLAT
---help---
Enable the timer example
if EXAMPLES_TIMER
config EXAMPLES_TIMER_DEVNAME
string "Timer device name"
default "/dev/timer0"
---help---
This is the name of the timer device that will be tested.
config EXAMPLES_TIMER_INTERVAL
int "Timer interval (microseconds)"
default 1000000
---help---
This is the timer interval in microseconds.
config EXAMPLES_TIMER_DELAY
int "Sample delay (microseconds)"
default 100000
---help---
This is the delay between timer samples in microseconds
config EXAMPLES_TIMER_NSAMPLES
int "Number of samples"
default 20
---help---
This is the number of timer samples that will be collected
config EXAMPLES_TIMER_SIGNO
int "Notification signal number"
default 17
---help---
This is the signal number that is used to notify the test of
timer expiration events.
config EXAMPLES_TIMER_APPNAME
string "Timer executable name"
default "timer"
depends on NSH_BUILTIN_APPS
---help---
This is the name of the built-in application
config EXAMPLES_TIMER_STACKSIZE
int "Timer stack size"
default 2048
depends on NSH_BUILTIN_APPS
---help---
This is the stack size allocated when the timer task runs
config EXAMPLES_TIMER_PRIORITY
int "Timer task priority"
default 100
depends on NSH_BUILTIN_APPS
---help---
This is the priority of the timer task
config EXAMPLES_TIMER_PROGNAME
string "Timer program name"
default "timer"
depends on BUILD_LOADABLE
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
endif