summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-18 10:30:52 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-18 10:30:52 -0600
commita6f7c88c4f8493270c923492e123688da68f2207 (patch)
tree15ecee3e2c79b3e0c969c71a7f5c0b871d0ca87d /apps/examples
parent6330feb05215440a9377e08db470af6bee247bd2 (diff)
downloadnuttx-a6f7c88c4f8493270c923492e123688da68f2207.tar.gz
nuttx-a6f7c88c4f8493270c923492e123688da68f2207.tar.bz2
nuttx-a6f7c88c4f8493270c923492e123688da68f2207.zip
Add FPU configuration options for the OS test
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/ostest/Kconfig31
1 files changed, 30 insertions, 1 deletions
diff --git a/apps/examples/ostest/Kconfig b/apps/examples/ostest/Kconfig
index 0e0f2b016..1e6d4afab 100644
--- a/apps/examples/ostest/Kconfig
+++ b/apps/examples/ostest/Kconfig
@@ -59,4 +59,33 @@ config EXAMPLES_OSTEST_RR_RUNS
length of this test - it should last at least a few tens of seconds. Allowed
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