| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-07 | cleanup | YixingShen | |
| 2026-03-07 | fixed _open_vc_itf parsing | YixingShen | |
| Standard Interface Descriptor (Video Control) Video Control Header Descriptor Video Control Camera Terminal Descriptor Video Control Output Terminal Descriptor Standard Endpoint Descriptor Class-Specific VC Interrupt Endpoint Descriptor Video Control Header Descriptor's wTotalLength = Header Descriptor + Camera Terminal Descriptor + Output Terminal Descriptor _end_of_control_descriptor is Output Terminal Descriptor End the "end" should +7 for _find_desc searchig Standard Endpoint Descriptor | |||
| 2026-03-06 | replace printer_to_hid example with printer_to_cdc example | hathach | |
| fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low) | |||
| 2026-03-06 | add full read/write() API, use edpt stream for printer class | hathach | |
| 2026-03-06 | update printer class: enhance descriptors, buffer sizes, and callbacks | hathach | |
| 2026-03-06 | Merge branch 'refs/heads/master' into fork/remiberthoz/device-class-printer | hathach | |
| 2026-03-05 | add IAR warning flags to cmake build and fix them | hathach | |
| 2026-03-01 | Merge pull request #3514 from sauloverissimo/fix/midi-device-cable-demux | Zixun LI | |
| midi device: add cable-aware stream read (tud_midi_n_demux_stream_read) | |||
| 2026-02-25 | midi device: add cable-aware stream read (tud_midi_n_demux_stream_read) | Saulo Veríssimo | |
| The existing tud_midi_n_stream_read() accepts a cable_num parameter but ignores it — all cables share a single FIFO and stream parser state, so data from different virtual cables is silently mixed together. Add tud_midi_n_demux_stream_read() which returns the cable number of the data that was actually read. It peeks at each USB-MIDI event packet header before consuming it and stops when the next packet belongs to a different cable, allowing callers to dispatch per-cable without losing data. Implementation details: - Mirrors the host-side tuh_midi_stream_read() approach: tu_edpt_stream_peek for cable inspection, CIN-based byte count (USB MIDI 1.0 Table 4-1), leftover handling via existing midi_driver_stream_t - *p_cable_num initialized to 0xff sentinel so callers can detect "no data" even when return value is 0 - Cable-change check (total_read > 0 guard) covers both leftover-originated reads and freshly consumed packets - TU_VERIFY uses explicit != NULL comparisons, consistent with codebase style - Note: shares stream->buffer with tud_midi_n_stream_read(); do not mix calls on the same interface - Adds single-interface convenience wrapper tud_midi_demux_stream_read() Closes #1838 | |||
| 2026-02-25 | fix CDC host FTDI multiple channel loop | hathach | |
| fix typos for ftdi_process_set_config() add J-Link GDB + RTT logging instructions | |||
| 2026-02-11 | Merge remote-tracking branch 'origin/master' into msc_stall | hathach | |
| 2026-02-11 | device/msc: only defer prepare_cbw() from STATUS_SENT when EP OUT stalled | hathach | |
| 2026-02-07 | minor update | hathach | |
| 2026-01-26 | device/msc: skip command stage if EP out is stalled | Zixun LI | |
| Signed-off-by: Zixun LI <[email protected]> | |||
| 2026-01-14 | update printer_device.c accounting for upstream changes | Rémi Berthoz | |
| 2026-01-14 | Merge 'upstream/master' into device-class-printer | Rémi Berthoz | |
| 2026-01-14 | remove no-fifo mode in edpt stream API | hathach | |
| 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-13 | minor clean up | hathach | |
| separate tud_mtp_data_send() and tud_mtp_data_receive() | |||
| 2026-01-12 | Merge branch 'refs/heads/master' into mtp_zlp | hathach | |
| 2026-01-07 | Adjust printer device class to 0.20.0 and fix compilation warnings | Rémi Berthoz | |
| 2026-01-06 | Merge pull request #3441 from hathach/fifo-access-mode | Ha Thach | |
| HWFIFO access-mode refactor and stride-aware FIFO fixes across FSDEV/RUSB2/MUSB | |||
| 2026-01-05 | Fix content of printer device class header (.h) file | Rémi Berthoz | |
| I apparently made a mistake when copying/renaming this file, file content was that of printer_device.c. | |||
| 2026-01-05 | Add missing license to printer device class header | Rémi Berthoz | |
| 2026-01-04 | Implement Printer Device Class | Rémi Berthoz | |
| 2025-12-30 | tusb_fifo remove item_size make it fifo of bytes | hathach | |
| 2025-12-29 | device/mtp: improve logging | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-12-28 | device/mtp: queue ZLP when needed | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-12-26 | Prevent unused-variable warning in dcd_host.c | Cédric Berger | |
| 'idx' is not used if CFG_TUH_CDC_LINE_CODING_ON_ENUM is not defined. | |||
| 2025-12-21 | Change return of tud_vendor_n_write_clear from uint32_t to bool | James Smith | |
| 2025-12-21 | Removed tu_fifo_count_and_clear | James Smith | |
| 2025-12-20 | Added tud_vendor_write_clear() which forcefully clears TX buffer | James Smith | |
| 2025-12-12 | Merge branch 'refs/heads/master' into audio_open | hathach | |
| 2025-12-12 | usbh/cdc: fix typo in cdch_open | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-12-12 | Merge pull request #3402 from hathach/more-size-reduce-edpt-stream | Ha Thach | |
| refactor, clean up to reduce size | |||
| 2025-12-12 | fix edpt stream write/read to endpoint not yet opened | hathach | |
| 2025-12-11 | move host hacked bulk mps out of tu_edpt_validate() | hathach | |
| 2025-12-11 | refactor usbh_class_driver_t's open() to return number of driver len instead ↵ | hathach | |
| of bool. help to simplify parsing configuration | |||
| 2025-12-10 | move hwid into edpt stream for consistent API | hathach | |
| 2025-12-10 | Merge pull request #3401 from hathach/copilot/fix-mtp-device-bug | Ha Thach | |
| Fix MTP transfer completion detection for exact-length packets | |||
| 2025-12-10 | Merge branch 'master' into more-size-reduce-edpt-stream | hathach | |
| 2025-12-10 | remove tu_fifo_discard_n() and its usage | hathach | |
| 2025-12-10 | flatten cdc tx,rx stream | hathach | |
| 2025-12-10 | change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void | hathach | |
| 2025-12-10 | Fix MTP transfer completion detection for exact-length packets | copilot-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-08 | audio_device: use CFG_TUD_EDPT_DEDICATED_HWFIFO flag for FIFO transfer | Zixun LI | |
| Signed-off-by: Zixun LI <[email protected]> | |||
| 2025-12-08 | Merge pull request #3340 from dinsfire64/hid-enum-fix | Ha Thach | |
| remove hid host enumeration assumption | |||
| 2025-12-02 | audio: fix audiod_open with midi interfaces | Zixun LI | |
| Signed-off-by: Zixun LI <[email protected]> | |||
| 2025-11-27 | add CFG_TUD_VENDOR_RX_MANUAL_XFER per suggestion | hathach | |
| 2025-11-27 | make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0 | hathach | |
| vendor_write_flush() and write_available() only available when CFG_TUD_VENDOR_TX_BUFSIZE > 0 | |||
| 2025-11-27 | change 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 | |||
