2012-04-06 13:33:17 -03:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 13:45:52 -03:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 13:33:17 -03:00
|
|
|
#
|
2012-04-12 23:14:09 -03:00
|
|
|
|
|
|
|
config EXAMPLES_OSTEST
|
|
|
|
bool "OS test example"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the OS test example
|
|
|
|
|
|
|
|
if EXAMPLES_OSTEST
|
2012-09-05 18:36:03 -03:00
|
|
|
|
|
|
|
config EXAMPLES_OSTEST_BUILTIN
|
|
|
|
bool "NSH built-in application"
|
|
|
|
default y if NSH_LIBRARY
|
|
|
|
default n if !NSH_LIBRARY
|
|
|
|
---help---
|
|
|
|
Build the OS test example as an NSH built-in application.
|
|
|
|
|
|
|
|
config EXAMPLES_OSTEST_LOOPS
|
|
|
|
int "OS test loop"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Used to control the number of executions of the test. If undefined, the test
|
|
|
|
executes one time. If defined to be zero, the test runs forever.
|
|
|
|
|
|
|
|
config EXAMPLES_OSTEST_STACKSIZE
|
|
|
|
int "OS test stack size"
|
|
|
|
default 8192
|
|
|
|
---help---
|
|
|
|
Size of the stack used to create the ostest task. Default is 8192.
|
|
|
|
|
|
|
|
config EXAMPLES_OSTEST_NBARRIER_THREADS
|
|
|
|
int "Number of barrier threads"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
Specifies the number of threads to create in the barrier test. The default
|
|
|
|
is 8 but a smaller number may be needed on systems without sufficient memory
|
|
|
|
to start so many threads.
|
|
|
|
|
2012-04-12 23:14:09 -03:00
|
|
|
endif
|