summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
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
2025-11-12migrate cdc device to use edpt stream APIhathach
tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect
2025-11-12migrate midi_device to use edpt stream APIhathach
also add tud_midi_n_packet_write/read_n()
2025-11-11Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-09Merge pull request #3334 from hathach/fix-alerts-3Ha Thach
Fix more code alerts
2025-11-08fix more alertshathach
2025-11-08Merge remote-tracking branch 'origin/fix-alerts-3' into fix-alerts-3hathach
# Conflicts: # src/class/cdc/cdc_device.h # src/class/msc/msc_device.c # src/common/tusb_debug.h
2025-11-07fix more alerts found by pvs-studiohathach
2025-11-07Merge pull request #3321 from gabChouin/audio_ep_in_target_fifo_sizeZixun LI
audio: Implement support for variable EP in flow control fifo level
2025-11-07TypoHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-07Implement RX FIFO threshold adjustmentHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-07CleanupHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-07FixupHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-07Merge remote-tracking branch 'tinyusb/master' into audio_ep_in_target_fifo_sizeHiFiPhile
2025-11-07Apply suggestions from code reviewHa Thach
Co-authored-by: Copilot <[email protected]>
2025-11-07fix more alerts found by pvs-studiohathach