This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Updated AT91 USB driver


Here is a patch of the AT91 USB driver required to use the MSD package I
posted earlier.

- Added support to stall entpoints
- Added new option CYGSEM_DEVS_USB_AT91_ZERO_LENGHT_PACKET_TERMINATION
to avoid sending a zero byte packet when the transfer is an exact
multiple of the endpoint buffer size. The default behavior is not
changed, zero byte packet is sent. Possibly this option should be
renamed and moved to io/usb/cdl/ so that it is common for all USB
drivers?

I have re-tested OK the USB serial example. Not tried the Ethernet.

Christophe

Attachment: at91_devs_usb.diff
Description: at91_devs_usb.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]