1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 12:16:14 +02:00
ben-wpan/atusb/fw/usb
Werner Almesberger 244e449131 atusb/fw/usb/: added support for bulk IN EP 1
The code is quite special-cased. Some more changes will be necessary
for interrupt or OUT EPs.

- atu2.c (NUM_EPS): increased from 1 to 2
- atu2.c (ep_rx): send zero-length packet also for EPs != 0
- atu2.c (handle_ep): clear FIFOCON when sending data on EP != 0
- atu2.c (ep_init): configure EP 1 as bulk IN with size 64
- usb.c (NUM_EPS): we don't need to define NUM_EPS here
2011-06-20 14:34:08 -03:00
..
atu2.c atusb/fw/usb/: added support for bulk IN EP 1 2011-06-20 14:34:08 -03:00
dfu_common.c atusb/fw/: moved common elements of DFU processing to dfu_common.c 2011-06-10 22:04:12 -03:00
dfu.c atusb/fw/usb/: DFU_ITF_DESCR also needs a protocol argument 2011-06-10 23:15:51 -03:00
dfu.h usb/dfu.h: Include usb.h to avoid gcc warning 2011-06-17 12:01:38 -03:00
usb.c atusb/fw/usb/: added support for bulk IN EP 1 2011-06-20 14:34:08 -03:00
usb.h atusb/fw/usb/: we were busy-looping on TXINI. Mask the interrupt when idle. 2011-06-11 14:17:44 -03:00