| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-07-17 | vendor: deactivate de-selected altsetting's isochronous endpoints | hathach | |
| vendord_set_alt() aborted bulk/interrupt endpoints of the outgoing altsetting (stall/clear-stall) but only dropped the iso endpoints' tracking: an armed iso transfer stayed live in the dcd with its usbd claim held and no tracked handle to stop it, and its completion fired into an endpoint the class no longer recognizes. Reachable through the usbtest example's alt0 (bulk) <-> alt1 (iso) SET_INTERFACE switching. Track each selected iso endpoint's descriptor (points into the app's static descriptor set) and deactivate on de-selection: with the iso-alloc API re-activation is the abort/scrub primitive (resets ep_status, aborts the stale transfer); without it usbd_edpt_close does, and the next selection re-opens. Iso cannot be stalled like bulk/interrupt, hence the separate path. Build-verified: usbtest for stm32f072disco, ra4m1_ek, raspberry_pi_pico (iso-alloc) and ch32v307v_r1_1v0 (close API). | |||
| 2026-07-09 | class/vendor: add interrupt/iso endpoint pairs and alt-setting support | hathach | |
| Non-buffered per-type source/sink endpoints (bulk/int/iso) with manual RX arming across altsettings. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HeF2gZ1M7GWkz6Av4BpKPg | |||
| 2026-07-02 | license: use SPDX identifiers for src/ headers (#3749) | Ha Thach | |
| * license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate. | |||
| 2026-03-12 | correct default value for CFG_TUD_VENDOR_TX/RX_BUFSIZE | hathach | |
| 2026-03-12 | refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP | hathach | |
| 2026-03-12 | refactor(config): separate endpoint buffer sizes into RX and TX definitions ↵ | hathach | |
| for clarity and flexibility | |||
| 2026-03-11 | rename .rx_multiple_packet_transfer to .rx_need_zlp | hathach | |
| 2026-02-11 | fix rx transfer length when high speed capable device/host working at full speed | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 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 | |||
| 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-10 | move hwid into edpt stream for consistent API | hathach | |
| 2025-12-10 | remove tu_fifo_discard_n() and its usage | hathach | |
| 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 | |||
| 2025-11-27 | add tud_vendor_n_read_discard(), refactor vendor device. Update webusb ↵ | hathach | |
| example for more robust | |||
| 2025-11-27 | correct tu_edpt_stream_read() with non-fifo mode. Fix rhport with vendor device | hathach | |
| 2025-11-27 | omit cdc epnotify for dedicated hw fifo | hathach | |
| 2025-11-12 | migrate cdc device to use edpt stream API | hathach | |
| tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect | |||
| 2025-11-12 | migrate midi_device to use edpt stream API | hathach | |
| also add tud_midi_n_packet_write/read_n() | |||
| 2025-10-28 | fix Identifiers that start with '__' or '_[A-Z]' are reserved. | hathach | |
| fix compiling with nuc family | |||
| 2025-09-17 | Update weak callbacks to new syntax | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-08-02 | use tu_desc_in_bounds() for descriptor loop | hathach | |
| 2025-07-07 | update | YixingShen | |
| 2025-07-07 | fixed CFG_TUD_VENDOR > 1 vendord_open tud_vendor_n_write_flush | YixingShen | |
| tud_vendor_n_write_flush argument should be 0,1,2,..., but p_vendor - _vendord_itf is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ... | |||
| 2025-05-16 | follow up to pr3118, interface also end with IAD. Add more checks | hathach | |
| 2025-05-09 | simplify vendord_open parsing loop | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-05-09 | revert 'end fix' | ZakDanger | |
| 2025-05-09 | revert 'end fix' | ZakDanger | |
| 2025-05-09 | vendor device open fix for descriptor parsing | ZakDanger | |
| 2025-03-10 | fix desc_end in vendord_open() | Cynventria[CitRA] | |
| minor fix on calculation of desc_end in vendord_open( ) for descriptor prasing | |||
| 2024-11-22 | TUD_EPBUF_TYPE_DEF usbtmc_device.c and vendor_device.c | hathach | |
| 2024-10-01 | Fix vendor class reset. | HiFiPhile | |
| 2024-09-10 | remove vendor ep_addr, use stream api instead | hathach | |
| 2024-09-10 | update vendor device to use edpt stream which also support non-buffereed (no ↵ | hathach | |
| fifo) mode | |||
| 2024-09-10 | change vendor device to use edpt stream API | hathach | |
| 2024-08-02 | Merge branch 'master' into vendor_fifo | HiFiPhile | |
| 2024-05-09 | Take updated change from cdc_device. | HiFiPhile | |
| 2024-04-08 | Merge branch 'master' of github.com:HiFiPhile/tinyusb into vendor_fifo | HiFiPhile | |
| 2024-04-08 | add class driver deinit | hathach | |
| 2024-03-03 | Use FIFO size as condition. | HiFiPhile | |
| 2024-02-01 | Allow vendor class to be used without FIFO. | HiFiPhile | |
| 2024-01-31 | Update vendor_device.c fifo mutex config similar to cdc_device.c. | mamiral | |
| 2023-07-24 | rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack | hathach | |
| CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION | |||
| 2023-04-06 | add define for vendor_flush() to write_flush() for backward compatible | hathach | |
| 2023-03-31 | Remove trailing whitespace | epatstarkey | |
| 2023-03-28 | Update vendor_device.c | epatstarkey | |
| 2023-03-28 | Update vendor_device.c | epatstarkey | |
