summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2026-02-07minor updatehathach
2026-01-14remove no-fifo mode in edpt stream APIhathach
update vendor_device.c for direct usbd xfer when either RX/TX BUFSIZE is 0 i.e CFG_TUD_VENDOR_TXRX_BUFFERED = 0
2026-01-13minor clean uphathach
separate tud_mtp_data_send() and tud_mtp_data_receive()
2026-01-12Merge branch 'refs/heads/master' into mtp_zlphathach
2026-01-06Merge pull request #3441 from hathach/fifo-access-modeHa Thach
HWFIFO access-mode refactor and stride-aware FIFO fixes across FSDEV/RUSB2/MUSB
2025-12-30tusb_fifo remove item_size make it fifo of byteshathach
2025-12-29device/mtp: improve loggingHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-28device/mtp: queue ZLP when neededHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-26Prevent unused-variable warning in dcd_host.cCédric Berger
'idx' is not used if CFG_TUH_CDC_LINE_CODING_ON_ENUM is not defined.
2025-12-21Change return of tud_vendor_n_write_clear from uint32_t to boolJames Smith
2025-12-21Removed tu_fifo_count_and_clearJames Smith
2025-12-20Added tud_vendor_write_clear() which forcefully clears TX bufferJames Smith
2025-12-12Merge branch 'refs/heads/master' into audio_openhathach
2025-12-12usbh/cdc: fix typo in cdch_openHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-12-12Merge pull request #3402 from hathach/more-size-reduce-edpt-streamHa Thach
refactor, clean up to reduce size
2025-12-12fix edpt stream write/read to endpoint not yet openedhathach
2025-12-11move host hacked bulk mps out of tu_edpt_validate()hathach
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-12-10move hwid into edpt stream for consistent APIhathach
2025-12-10Merge pull request #3401 from hathach/copilot/fix-mtp-device-bugHa Thach
Fix MTP transfer completion detection for exact-length packets
2025-12-10Merge branch 'master' into more-size-reduce-edpt-streamhathach
2025-12-10remove tu_fifo_discard_n() and its usagehathach
2025-12-10flatten cdc tx,rx streamhathach
2025-12-10change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to voidhathach
2025-12-10Fix MTP transfer completion detection for exact-length packetscopilot-swe-agent[bot]
Change condition from `>` to `>=` to properly detect completion when xferred_len equals total_len. This fixes the bug where transfers of exactly bulk_mps length (e.g., 64 bytes for low speed) would never complete, such as GetHandles responses with 12 elements. Co-authored-by: hathach <[email protected]>
2025-12-08audio_device: use CFG_TUD_EDPT_DEDICATED_HWFIFO flag for FIFO transferZixun LI
Signed-off-by: Zixun LI <[email protected]>
2025-12-08Merge pull request #3340 from dinsfire64/hid-enum-fixHa Thach
remove hid host enumeration assumption
2025-12-02audio: fix audiod_open with midi interfacesZixun LI
Signed-off-by: Zixun LI <[email protected]>
2025-11-27add CFG_TUD_VENDOR_RX_MANUAL_XFER per suggestionhathach
2025-11-27make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0hathach
vendor_write_flush() and write_available() only available when CFG_TUD_VENDOR_TX_BUFSIZE > 0
2025-11-27change tud_vendor_rx_cb() behavior, buffer and bufsize only available when ↵hathach
CFG_TUD_VENDOR_RX_BUFSIZE = 0 update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27add tud_vendor_n_read_discard(), refactor vendor device. Update webusb ↵hathach
example for more robust
2025-11-27correct tu_edpt_stream_read() with non-fifo mode. Fix rhport with vendor devicehathach
2025-11-27omit cdc epnotify for dedicated hw fifohathach
2025-11-27add tud_cdc_n_notify_msg()hathach
2025-11-26omit ep buffer for midi device if device support CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
2025-11-26change tu_fifo_buffer_info_t layouthathach
2025-11-22hil stress test cdchathach
2025-11-22implement wanted char for cdc device without ep_bufhathach
2025-11-22implement wanted char for cdc device without ep_bufhathach
2025-11-21edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFOhathach
cdc device omit ep buffer when hwfifo is supported
2025-11-20Revert "add find_hid_desc"hathach
support rare case where hid descriptor is after endpoint descriptor
2025-11-19Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-19rename CFG_TUD_ENDPOINT0_BUFSIZE to make it more consistenthathach
use uint8_t for dfu state and status to reduce size
2025-11-19clean uphathach
2025-11-19Merge branch 'refs/heads/master' into dwc2_ep0hathach
# Conflicts: # examples/device/dfu/src/usb_descriptors.c # examples/device/dfu_runtime/src/usb_descriptors.c # src/device/usbd_control.c # src/portable/synopsys/dwc2/dcd_dwc2.c
2025-11-15add find_hid_descdin
2025-11-14Merge remote-tracking branch 'tinyusb/master' into embedded-ideas/masterMengsk
Signed-off-by: Mengsk <[email protected]>
2025-11-13Apply suggestions from code reviewHa Thach
Co-authored-by: Copilot <[email protected]>
2025-11-13clear endpoint stream when open for cdc_host and midi_hosthathach