| Age | Commit message (Collapse) | Author |
|
Internal FIFO for each endpoint is limited to 64 bytes.
It is possible to have longer packets if respective FIFO
is read during actual packet transmission.
This change updates receive data path to allow packets (and
endpoint size) larger then 64 bytes.
If DMA is not used yet DMA is setup for reception of big packets.
If DMA is already assigned to some transfer, code enables FIFO level
warning interrupts and tries to read data before FIFO is filled up.
|
|
Fix a bug in writing SysEx messages.
|
|
Operator < used in while condition was obviously incorrect.
Loop starts with checking if unsigned variable is less then 0.
This condition is always false.
This reverses condition to follow intention of of the code.
|
|
Fix edpt xfer race condition
|
|
|
|
- add pre-check to reduce mutex lock in usbd_edpt_claim
|
|
Fix a bug in writing SysEx messages.
At the start of a new USB packet (4 bytes), while in the middle of a SysEx, the code mistakenly
set the buffer length to 4, not the target length. As a consequence, the 3rd and 4th bytes from
the last packet were included, after every byte of the SysEx after the first packet of three.
The fix is simple, as it was just a typo, as can bee seen from the other branches in the same
section of if/else statements: At the start of a new packet, the code should set up the target
length... the buffer length should be left at 2 (as set on line 180).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gain exclusive access to usbd_edpt_xfer
|
|
|
|
|
|
|
|
|
|
define __USE_CMSIS instead of __USE_LPCOPEN will have startup enable FPU
on startup properly. Although it is only relevant to lpx43/40 series,
change all to __USE_CMSIS for consistency
|
|
tested host with lpc4357, don't use fpu with lpc m4 since it seems to
cause hardfault (stack does not make use of fpu anyway).
|
|
|
|
|
|
- fix #436 tud_midi_rx_cb() not invoked
- fix xfer_cb() not handle ep in
- add ZLP if needed
|
|
Add dcd_edpt_close() to synopsys
|
|
skip ci build for example that need more ROM/RAM could fit into SAMD11
|
|
Add TX callback to CDC device
|
|
|
|
|
|
Endpoint close was implemented only in one driver so far.
This function is needed for interfaces with several alternate settings.
The way FIFO is allocated in dcd_edpt_open() allows to correctly close
only one IN endpoint (the one that was opened last).
|
|
Wrong FIFO was flushed in dcd_edpt_stall().
(epnum - 1) should only be used when accessing DIEPTXF registers.
For DIEPCTL and GRSTCTL epnum is correct index.
|
|
|
|
|
|
- position application driver before built-in
- remove dcd.h from public include.
|
|
|
|
Fix synopsys odd/even frame bit for IN ISO endpoints
|
|
For ISO endpoint driver has to specify when data
is to be transmitted (odd or even frame).
Currently code was not updating this bit resulting in
data being sent every other frame.
If interval was 1ms full data packed was sent every 2ms, and
ZLP was sent in between.
|
|
|
|
Move pull-up enabling to dcd_init() instead of usbd
|
|
fix msp430 gcc 9.2.0 warning
|
|
|
|
correct isr context for nrf DCD_EVENT_UNPLUGGED
|
|
also rename debug lookup to prevent conflict
|
|
Constraint was incorrect for ISO endpoint as stated in TODO.
|
|
|
|
|
|
suppress cast-align warnings for net device driver
|
|
ESP32-S2: Handle the fact that available EP IN FIFOs are less than the number of available EP INs
|
|
|
|
|