summaryrefslogtreecommitdiff
path: root/apps/examples/bastest/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-07 15:03:03 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-07 15:03:03 -0600
commitb20c2c13f229704f5b4b9a43d8323f24e18977f2 (patch)
tree7e2daa8004160827a8b9d19c92ddaacc3f8d7b63 /apps/examples/bastest/Kconfig
parent1c5e93117d6951dc65d4914ee8e9507af143d2b4 (diff)
downloadpx4-nuttx-b20c2c13f229704f5b4b9a43d8323f24e18977f2.tar.gz
px4-nuttx-b20c2c13f229704f5b4b9a43d8323f24e18977f2.tar.bz2
px4-nuttx-b20c2c13f229704f5b4b9a43d8323f24e18977f2.zip
BAS: Rename examples/bas to examples/bastest. Hook into build and configuration system. Finish ROMFS logic
Diffstat (limited to 'apps/examples/bastest/Kconfig')
-rw-r--r--apps/examples/bastest/Kconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/examples/bastest/Kconfig b/apps/examples/bastest/Kconfig
new file mode 100644
index 000000000..3c56df48d
--- /dev/null
+++ b/apps/examples/bastest/Kconfig
@@ -0,0 +1,31 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+config EXAMPLES_BASTEST
+ bool "Setup Test Files for BAS"
+ default n
+ depends on INTERPRETERS_BAS
+ ---help---
+ Mount the ROMFS file system containing the BAS test files.
+
+if EXAMPLES_BASTEST
+
+config EXAMPLES_BASTEST_DEVMINOR
+ int "ROMFS Minor Device Number"
+ default 0
+ ---help---
+ The minor device number of the ROMFS block. For example, the N in /dev/ramN.
+ Used for registering the RAM block driver that will hold the ROMFS file system
+ containing the BASIC files to be tested. Default: 0
+
+config EXAMPLES_BASTEST_DEVPATH
+ string "ROMFS Device Path"
+ default "/dev/ram0"
+ ---help---
+ The path to the ROMFS block driver device. This must match EXAMPLES_BASTEST_DEVMINOR.
+ Used for registering the RAM block driver that will hold the ROMFS file system
+ containing the BASIC files to be tested. Default: "/dev/ram0"
+
+endif