summaryrefslogtreecommitdiff
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-30Merge pull request #1756 from benishor/masterHa Thach
Added board description for electro-smith daisy seed
2022-11-29Merge pull request #1763 from hathach/host-retry-failed-enumeration-requestHa Thach
Retry a few times with transfers in enumeration since device can be unstable when starting up
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-28update pico-pio-usb submodule and its warnings suppresshathach
2022-11-24Added board description for electro-smith daisy seedAdrian Scripca
2022-11-23Fix RP2040 Issue 1721rppicomidi
2022-11-23Merge pull request #1750 from hathach/rework-host-msc-complete-callbackHa Thach
Rework host msc complete callback
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-23allow all host examples to use pico-pio-usb for rp2040hathach
2022-11-21Merge pull request #1746 from hathach/host-msc-exampleHa Thach
Add host msc explorer example
2022-11-21add board_getchar() for non-blocking getchar()hathach
2022-11-21host msc example work well with rp2040 pio-usbhathach
2022-11-21suppress fatfs cast-qualhathach
2022-11-21house keepinghathach
2022-11-21whitespacehathach
2022-11-21add pwdhathach
2022-11-21implement rm commandhathach
2022-11-21fix build with rp2040 and rx65hathach
2022-11-20implement cp commandhathach
2022-11-19add mv commandhathach
2022-11-19add mkdirhathach
2022-11-19implement cat commandhathach
2022-11-19add cd commandhathach
2022-11-19msc explorer ls work greathathach
2022-11-18update uart read for lpc18/43 for testinghathach
2022-11-18Merge pull request #1712 from kripton/fixDhserverHa Thach
dhserver: Support DHCP clients that don't send the MESSAGETYPE as first option
2022-11-18add msc file explorer examplehathach
- add lib/fatfs version 15 - add lib/embedded-cli
2022-11-16Merge pull request #1738 from kaysievers/midi-port-namesHa Thach
MIDI: support port name strings
2022-11-16Merge pull request #1740 from hathach/add-HiFiPhile-selfhostHa Thach
Add hifiphile self-hosted
2022-11-16more ci warningshathach
2022-11-16fix other ci warningshathach
2022-11-16disable orphan board workflow and minor update to pi4 workflowhathach
2022-11-16only print flash output if failedhathach
2022-11-16skip usb msc testhathach
2022-11-15more flash scripthathach
2022-11-15more testhathach
2022-11-15correct flash.sh creationhathach
2022-11-15update ymlhathach
2022-11-15try running HiFiPhile self-host with stm32l412nucleohathach
2022-11-15Merge pull request #1727 from HiFiPhile/bsp_412Ha Thach
Add support for STM32L412.
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.