summaryrefslogtreecommitdiff
path: root/apps/examples/composite
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-29 21:53:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-29 21:53:28 +0000
commit5faa1bd9cefb4e7a2319faaa5b36da9140aba16a (patch)
tree358673f55511cec814532fbf08a11847936c38cf /apps/examples/composite
parent286b14b0c9d2dbad599e80cac9c269c9cd96b408 (diff)
downloadpx4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.tar.gz
px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.tar.bz2
px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.zip
A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4440 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/composite')
-rw-r--r--apps/examples/composite/composite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/examples/composite/composite.h b/apps/examples/composite/composite.h
index 48e4b155f..fab498c9f 100644
--- a/apps/examples/composite/composite.h
+++ b/apps/examples/composite/composite.h
@@ -120,6 +120,8 @@
#ifndef CONFIG_EXAMPLES_COMPOSITE_SERDEV
# if CONFIG_EXAMPLES_COMPOSITE_TTYUSB != 0
# error "Serial device unknown (CONFIG_EXAMPLES_COMPOSITE_SERDEV)"
+# elif defined(CONFIG_CDCACM)
+# define CONFIG_EXAMPLES_COMPOSITE_SERDEV "/dev/ttyACM0"
# else
# define CONFIG_EXAMPLES_COMPOSITE_SERDEV "/dev/ttyUSB0"
# endif