diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-05 15:12:54 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-05 15:12:54 +0000 |
commit | e0c8d0bd3c9cdb2b5f4aca06a09fc61ddb2f8726 (patch) | |
tree | bb2ea3c0bb4b77338786da1b304c81cb45aa6227 | |
parent | 18d1f3e8c8813f17f7b064dc9f96f805efb76cf3 (diff) | |
download | nuttx-e0c8d0bd3c9cdb2b5f4aca06a09fc61ddb2f8726.tar.gz nuttx-e0c8d0bd3c9cdb2b5f4aca06a09fc61ddb2f8726.tar.bz2 nuttx-e0c8d0bd3c9cdb2b5f4aca06a09fc61ddb2f8726.zip |
Integrate touchscreen in to SAM3U configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4022 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/configs/sam3u-ek/touchscreen/appconfig | 2 | ||||
-rwxr-xr-x | nuttx/configs/sam3u-ek/touchscreen/defconfig | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/nuttx/configs/sam3u-ek/touchscreen/appconfig b/nuttx/configs/sam3u-ek/touchscreen/appconfig index e6bff49f3..c1d902d1a 100644 --- a/nuttx/configs/sam3u-ek/touchscreen/appconfig +++ b/nuttx/configs/sam3u-ek/touchscreen/appconfig @@ -45,4 +45,4 @@ CONFIGURED_APPS += nshlib CONFIGURED_APPS += examples/nx CONFIGURED_APPS += examples/nxhello - +CONFIGURED_APPS += examples/touchscreen diff --git a/nuttx/configs/sam3u-ek/touchscreen/defconfig b/nuttx/configs/sam3u-ek/touchscreen/defconfig index 68d53e4e9..f6eab150a 100755 --- a/nuttx/configs/sam3u-ek/touchscreen/defconfig +++ b/nuttx/configs/sam3u-ek/touchscreen/defconfig @@ -1045,6 +1045,28 @@ CONFIG_EXAMPLES_NXLINES_BPP=16 CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # +# Settings for examples/touchscreen +# +# CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN - Build the touchscreen test as +# an NSH built-in function. Default: Built as a standalone problem +# CONFIG_EXAMPLES_TOUCHSCREEN_MINOR - The minor device number. Minor=N +# correspnds to touchscreen device /dev/input0. Note this value must +# with CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH. Default 0. +# CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH - The path to the touchscreen +# device. This must be consistent with CONFIG_EXAMPLES_TOUCHSCREEN_MINOR. +# Default: "/dev/input0" +# CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES - If CONFIG_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: Samples are collected +# indefinitely. +# +CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n +CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 +CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" +CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25 + +# # Stack and heap information # # CONFIG_BOOT_RUNFROMFLASH - Some configurations support XIP |