From a96e7ec9d52efed8f5de68e932cfc76c06d0a1b7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 13 Sep 2011 19:04:13 +0000 Subject: [PATCH] Add CDC ACM serial class device driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3953 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 6 + Documentation/NuttxPortingGuide.html | 55 +- TODO | 22 +- configs/README.txt | 45 +- configs/stm3210e-eval/usbserial/defconfig | 65 +- drivers/usbdev/Make.defs | 4 + drivers/usbdev/cdc_serial.c | 558 ++++--- drivers/usbdev/usbdev_serial.c | 10 +- include/nuttx/usb/cdc.h | 1737 +++++++++++---------- include/nuttx/usb/cdc_serial.h | 40 +- include/nuttx/usb/usb.h | 24 +- include/nuttx/usb/usbdev_trace.h | 2 +- lib/stdio/lib_fopen.c | 4 +- 13 files changed, 1431 insertions(+), 1141 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c36668762..c916d8cf98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2080,3 +2080,9 @@ 6.10 2011-xx-xx Gregory Nutt + * lib/stdio/lib_fopen.c: Fix an error in fopen(); the file pointer was not + being positioned at the end of the file when the "a" and "a+" modes are + used. There are other issues with the "a+" modes (see the top-level TODO + list). + * drivers/usbdev/cdc_serial.c and include/nuttx/usb/cdc.h and cdc_serial.h: + Add support for the CDC ACM serial device class. \ No newline at end of file diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index e02e85cc50..de02f25198 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: September 4, 2011

+

Last Updated: September 13, 2011

@@ -4744,7 +4744,7 @@ build -

USB Serial Device Class Driver

+

USB Serial Device Class Driver (Prolific PL2303 Emulation)

+

USB serial device class driver (Standard CDC ACM class)

+ +

USB Storage Device Configuration