summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-01-31add e15 prefix or walkaround related functions, also minor refactorhathach
2023-01-31minor clean uphathach
2023-01-24rp2040: shuffle hw_endpoint membersJonathan Bell
Ordering by element size prevents alignment holes, and as a consequence the host mode version of the struct is the same size as device, as pad bytes at the end are used instead.
2023-01-24rp2040: avoid device-mode state machine hangJonathan Bell
Don't mark IN buffers as available during the last 200us of a full-speed frame. This avoids a situation seen with the USB2.0 hub on a Raspberry Pi 4 where a late IN token before the next full-speed SOF can cause port babble and a corrupt ACK packet. The nature of the data corruption has a chance to cause device lockup. Use the next SOF to mark delayed buffers as available. This reduces available Bulk IN bandwidth by approximately 20%, and requires that the SOF interrupt is enabled while these transfers are ongoing. Inherit the top-level enable from the corresponding Pico-SDK flag. Applications that will not use the device in a situation where it could be plugged into a Pi 4 or Pi 400 (for example, when directly connected to a commodity hub or other host) can turn off the flag in the SDK. v2: use a field in hw_endpoint to mark pending. v3: Partial rewrite following review comments - Stub functions out if the workaround is not required - Only force-enable SOF while any vulnerable endpoints are active - Respect dcd_sof_enable() functionality - Get rid of all but necessary ifdef hackery - Fix a bug where the "endpoint lock" was used with an uninitialised pointer.
2023-01-23rp2040: export hw_endpoint_start_next_buffer() and hw_endpoint_lock_update()Jonathan Bell
The next change to the driver requires the export of these functions. Leave the lock unimplemented for now. Also move hw_set and hw_clear aliases into the top-level header file.
2022-11-30more clean uphathach
2022-11-30white spaceshathach
2022-11-30Merge pull request #1755 from rppicomidi/fix_1721Ha Thach
Fix RP2040 Issue 1721
2022-11-28increase delay between attempts to 100mshathach
2022-11-28Retry a few times with transfers in enumeration since device can be unstable ↵hathach
when starting up
2022-11-23Fix RP2040 Issue 1721rppicomidi
2022-11-23rework tuh_msc_complete_cb_t signature to use new tuh_msc_complete_data_thathach
add user arg to all scsi command API that support complete callback
2022-11-21host msc example work well with rp2040 pio-usbhathach
2022-11-21whitespacehathach
2022-11-16Merge pull request #1738 from kaysievers/midi-port-namesHa Thach
MIDI: support port name strings
2022-11-11MIDI: support port name stringsKay Sievers
This allows to set custom descriptive names for virtual MIDI ports/cables. A MIDI port offers different functionality on the same physical USB device. The names make it easier to distinguish one from the other.
2022-11-07Fix DCD build.Mengsk
2022-11-07Merge branch 'master' of https://github.com/hathach/tinyusb into bsp_412Mengsk
2022-11-07Add support for STM32L412.Mengsk
2022-11-04fix -wconversion-int and add minor commenthathach
2022-11-04Merge branch 'master' into rp2040-hcd-bulkHa Thach
2022-10-25Merge pull request #1698 from battlesnake/fix-attrs-on-struct-memberHa Thach
do not apply storage attributes to member of struct
2022-10-24keep alignment specMark K Cowan
2022-10-24Merge pull request #1676 from tswan-quasi/masterHa Thach
dcd_lpc_ip3511: isochronous support and endpoint accidental write fix
2022-10-24use dummy for all ZLP for ip3511, fix lpc55 build with DEBUG=1hathach
2022-10-21unused (void) casttswan-quasi
2022-10-22Merge pull request #1690 from tore-espressif/fix/espressif/iso_transfersHa Thach
esp: Fix Isochronous transfers
2022-10-20do not apply storage attributes to member of structMark K Cowan
2022-10-20typo fixtswan-quasi
2022-10-20dummy buffer only on EP0 OUT ZLPstswan-quasi
2022-10-19Merge pull request #1680 from LynnL4/port-stm32u5xxHa Thach
Port stm32u5xx
2022-10-19Merge pull request #1668 from kkitayam/add_support_for_mjpegHa Thach
Add support for MJPEG on UVC
2022-10-19Merge pull request #1523 from maddyaby/dcd_edpt_openHa Thach
Allow more endpoint packet sizes for SAMD
2022-10-18esp: Fix Isochronous transfersTomas Rezucha
On ESP32-S2/S3 ISO transfers must be configured for even or odd frame. Closes https://github.com/hathach/tinyusb/issues/1382
2022-10-17minor renamehathach
2022-10-14Merge pull request #1646 from battlesnake/feedback-prototype-fixHa Thach
audio_device: prototype added for function referenced before use
2022-10-13(void) rhport for unused parametertswan-quasi
2022-10-13Add support for STM32U5 mcuLynnL4
2022-10-12double cast of pointer to remove errortswan-quasi
2022-10-12Fix pointer type to calculate streaming parameterkkitayam
2022-10-11lpc55s69 isochronous, dummy address for endpoint buffers to prevent ↵tswan-quasi
accidental writes
2022-10-10Merge pull request #1623 from SudoMaker/masterHa Thach
Initial PIC32MM/MX & PIC24 support
2022-10-07Fix max payload size to clip at 1023kkitayam
2022-10-06Microchip PIC24/dsPIC33 device mode supportReimuNotMoe
2022-10-05Fix typo for log in dcd_rp2040.cmingpepe
2022-10-03Fix descriptor searchingkkitayam
2022-09-17audio_device: prototype added for function referenced before useMark K Cowan
2022-09-13Fix compile errorskkitayam
2022-09-13Change images to MJPEGkkitayam
2022-09-13Merge pull request #1629 from jmark1m/masterHa Thach
Fix bug #1628 by preventing shared irq slots for filling up