From 22a1b8dfe5b3e8b427a94ab736963a48a3697daa Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 26 Jan 2012 19:37:34 +0000 Subject: [PATCH] More USB composite device logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4340 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 4 +- Documentation/NuttxPortingGuide.html | 42 +++++ configs/README.txt | 23 +++ drivers/usbdev/cdcacm.c | 1 + drivers/usbdev/composite.c | 72 +++++++- drivers/usbdev/composite.h | 28 +-- drivers/usbdev/usbmsc.c | 1 + include/nuttx/usb/cdcacm.h | 22 +++ include/nuttx/usb/composite.h | 186 +++++++++++++++++++ include/nuttx/usb/pl2303.h | 91 ++++++++++ include/nuttx/usb/usbdev.h | 157 +--------------- include/nuttx/usb/usbhost.h | 8 +- include/nuttx/usb/usbmsc.h | 257 +++++++++++++++++++++++++++ 13 files changed, 702 insertions(+), 190 deletions(-) create mode 100644 include/nuttx/usb/composite.h create mode 100644 include/nuttx/usb/pl2303.h create mode 100644 include/nuttx/usb/usbmsc.h diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 86ee51a755..bf0647b25f 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: January 15, 2012

+

Last Updated: January 16, 2012

@@ -644,7 +644,7 @@

-

  • Device-dependent USB class drivers available for USB serial and for USB mass storage.
  • +
  • Device-dependent USB class drivers available for USB serial (CDC/ACM and a PL2303 emulation), for USB mass storage, and for a composite CDC/ACM and mass storage device.
  • diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 676e6a2e89..941599b1ae 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -5026,6 +5026,48 @@ build +

    USB Composite Device Configuration

    + +

    USB Host-Side Support

    USB Host Controller Driver