From ed22860eef262d9b6cbbfba06d4174271835de6b Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 5 Oct 2011 15:12:54 +0000 Subject: [PATCH] Integrate touchscreen in to SAM3U configuration git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4022 42af7a65-404d-4744-a932-0658087f49c3 --- configs/sam3u-ek/touchscreen/appconfig | 2 +- configs/sam3u-ek/touchscreen/defconfig | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/configs/sam3u-ek/touchscreen/appconfig b/configs/sam3u-ek/touchscreen/appconfig index e6bff49f3b..c1d902d1a8 100644 --- a/configs/sam3u-ek/touchscreen/appconfig +++ b/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/configs/sam3u-ek/touchscreen/defconfig b/configs/sam3u-ek/touchscreen/defconfig index 68d53e4e99..f6eab150a5 100755 --- a/configs/sam3u-ek/touchscreen/defconfig +++ b/configs/sam3u-ek/touchscreen/defconfig @@ -1044,6 +1044,28 @@ CONFIG_EXAMPLES_NXLINES_CIRCLECOLOR=0xf7bb 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 # -- GitLab