osmo-asf4-dfu/hpl
Benjamin Freeman f278032e9f fix USB transfer
this ASFv4 USB library change fixes USB transfer.
two transfer-size issues existed:
- on multi-packet transfer if the last packet was less than the
USB transfer packet size, the packet would be received but not
acknowledged
- during normal transfer the packet size of a previous packet set
the size of the current packet, ignoring the actual transfer size

transfer with a combination of partial or full USB single packet,
USB multi-packet, max transfer, and control endpoint sizes was
successfully tested (in bytes): 4, 32, 64, 128, 129, 512, 516,
544, 576, 640, 641, 1024, 1028

Change-Id: Ic4e64168e865362e12e0b76386f964895b8b6c20
2019-02-14 12:48:56 +01:00
..
cmcc use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
core use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
dmac use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
gclk use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
mclk use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
nvmctrl add flash ASF4 driver 2019-01-16 18:40:31 +01:00
osc32kctrl use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
oscctrl use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
pm use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
port use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
ramecc use USB CDC Echo example project 2019-01-09 15:33:36 +01:00
usb fix USB transfer 2019-02-14 12:48:56 +01:00