diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-10-05 15:12:54 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-10-05 15:12:54 +0000 |
commit | d4ee5c88316dee24fd8e818cd917e8255fce34ee (patch) | |
tree | bb2ea3c0bb4b77338786da1b304c81cb45aa6227 /nuttx/configs/sam3u-ek | |
parent | 608d6cf643af8a47d3abd8e8f5063313b8ddbffd (diff) |
Integrate touchscreen in to SAM3U configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4022 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/sam3u-ek')
-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 e6bff49f3b..c1d902d1a8 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 68d53e4e99..f6eab150a5 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 |