diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-04-01 22:00:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-04-01 22:00:37 +0000 |
commit | 87590afa9ca772243c261e6c1b8478565bd2771a (patch) | |
tree | d7a3161c5dea29510630f239e027dc32bac968fc /apps/examples/touchscreen/Kconfig | |
parent | f7122813d51018e5d3460a30596d2320a08ef740 (diff) | |
download | nuttx-87590afa9ca772243c261e6c1b8478565bd2771a.tar.gz nuttx-87590afa9ca772243c261e6c1b8478565bd2771a.tar.bz2 nuttx-87590afa9ca772243c261e6c1b8478565bd2771a.zip |
More naming changes associated with earlier renaming of LP17xx up_spiinitialize; LPC178x SSP support; Open1788 SSP and touchscreen support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5811 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/touchscreen/Kconfig')
-rw-r--r-- | apps/examples/touchscreen/Kconfig | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/examples/touchscreen/Kconfig b/apps/examples/touchscreen/Kconfig index e8d8728d8..18ece4923 100644 --- a/apps/examples/touchscreen/Kconfig +++ b/apps/examples/touchscreen/Kconfig @@ -10,4 +10,39 @@ config EXAMPLES_TOUCHSCREEN Enable the touchscreen example if EXAMPLES_TOUCHSCREEN + +config EXAMPLES_TOUCHSCREEN_BUILTIN + bool "NSH built-in application" + default y + depends on NSH_BUILTIN_APPS + ---help--- + Build the touchscreen test as an NSH built-in function. Default: + Built as a standalone problem unless NSH_BUILTIN_APPS is defined. + Then the default is to build as an NSH built-in application. + +config EXAMPLES_TOUCHSCREEN_MINOR + int "Touchscreen minor device number" + default 0 + ---help--- + The minor device number. Minor=N corresponds to touchscreen device + /dev/input0. Note this value must with EXAMPLES_TOUCHSCREEN_DEVPATH. + Default 0. + +config EXAMPLES_TOUCHSCREEN_DEVPATH + string "Touchscreen device path" + default "/dev/input0" + ---help--- + The path to the touchscreen device. This must be consistent with + EXAMPLES_TOUCHSCREEN_MINOR. Default: "/dev/input0" + +config EXAMPLES_TOUCHSCREEN_NSAMPLES + int "Number of samples" + default 0 + depends on !EXAMPLES_TOUCHSCREEN_BUILTIN + ---help--- + If EXAMPLES_TOUCHSCREEN_BUILTIN is defined, then the number of + samples is provided on the command line and this value is ignored. + Otherwise, this number of samples is collected and the program + terminates. Default: Zero (Samples are collected indefinitely). + endif |