Add FPU configuration options for the OS test

This commit is contained in:
Gregory Nutt 2013-09-18 10:30:52 -06:00
parent 6678759e5f
commit d69d133f62
2 changed files with 34 additions and 1 deletions

View File

@ -653,4 +653,8 @@
* apps/nshlib/Kconfig: Default IP address should be 0x0a000001 * apps/nshlib/Kconfig: Default IP address should be 0x0a000001
(10.0.0.1), not 0xa0000001 (160.0.0.1). Ditto for the gateway (10.0.0.1), not 0xa0000001 (160.0.0.1). Ditto for the gateway
(2013-9017). (2013-9017).
* apps/examples/ostest/Kconfig: Add configuration options for
the FPU test. There are still many OS test configuration
optionst that do not appear in Kconfig (2013-9-18).

View File

@ -59,4 +59,33 @@ config EXAMPLES_OSTEST_RR_RUNS
length of this test - it should last at least a few tens of seconds. Allowed length of this test - it should last at least a few tens of seconds. Allowed
values [1; 32767], default 10 values [1; 32767], default 10
endif if ARCH_FPU && SCHED_WAITPID && !DISABLE_SIGNALS
config EXAMPLES_OSTEST_FPUTESTDISABLE
bool "Disable FPU test"
default n
if !EXAMPLES_OSTEST_FPUTESTDISABLE
config EXAMPLES_OSTEST_FPUSIZE
int "Size of floating point register save area"
config EXAMPLES_OSTEST_FPULOOPS
int "Number of FPU test loops"
default 16
config EXAMPLES_OSTEST_FPUMSDELAY
int "FPU test delay (MSec)"
default 750
config EXAMPLES_OSTEST_FPUPRIORITY
int "FPU test thread priority"
default 100
config EXAMPLES_OSTEST_FPUSTACKSIZE
int "FPU test thread stack size"
default 2048
endif # !EXAMPLES_OSTEST_FPUTESTDISABLE
endif # ARCH_FPU && SCHED_WAITPID && !DISABLE_SIGNALS
endif # EXAMPLES_OSTEST