summaryrefslogtreecommitdiff
path: root/apps/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-27 16:25:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-27 16:25:57 +0000
commit7a0c66e591a0f4023fb44878f76f567448b8a3eb (patch)
treefe3cbb3a753d0755ceced271a369b0d92594e0fb /apps/examples/README.txt
parent8f6700143c5b021a5a1bd3e21a8c20f177e8e9f2 (diff)
downloadnuttx-7a0c66e591a0f4023fb44878f76f567448b8a3eb.tar.gz
nuttx-7a0c66e591a0f4023fb44878f76f567448b8a3eb.tar.bz2
nuttx-7a0c66e591a0f4023fb44878f76f567448b8a3eb.zip
First round of changes from debug of USB composite device (still has problems)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4342 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r--apps/examples/README.txt22
1 files changed, 16 insertions, 6 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index 136e0b57d..d9f30f191 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -118,12 +118,22 @@ examples/composite
Required overall configuration:
- CONFIG_USBDEV - USB device support
- CONFIG_USBDEV_COMPOSITE - USB composite device support
- CONFIG_CDCACM - USB CDC/ACM serial device support
- CONFIG_CDCACM_COMPOSITE - USB CDC/ACM serial composite device support
- CONFIG_USBMSC - USB mass storage device support
- CONFIG_USBMSC_COMPOSITE - USB mass storage composite device support
+ CONFIG_USBDEV=y - USB device support
+ CONFIG_USBDEV_COMPOSITE=y - USB composite device support
+ CONFIG_COMPOSITE_IAD=y - Interface associate descriptor needed
+
+ CONFIG_CDCACM=y - USB CDC/ACM serial device support
+ CONFIG_CDCACM_COMPOSITE=y - USB CDC/ACM serial composite device support
+ CONFIG_CDCACM_IFNOBASE=0 - CDC/ACM interfaces start with number 0
+ CONFIG_CDCACM_EPINTIN=1 - Endpoint numbers must be unique
+ CONFIG_CDCACM_EPBULKIN=2
+ CONFIG_CDCACM_EPBULKOUT=3
+
+ CONFIG_USBMSC - USB mass storage device support
+ CONFIG_USBMSC_COMPOSITE - USB mass storage composite device support
+ CONFIG_USBMSC_IFNOBASE=2 - USB mass storage interfaces start with number 2
+ CONFIG_USBMSC_EPBULKOUT=4 - Endpoint numbers must be unique
+ CONFIG_USBMSC_EPBULKIN=5
CONFIG_NSH_BUILTIN_APPS
This example can be built as two NSH "built-in" commands if this option