summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-03-06replace printer_to_hid example with printer_to_cdc examplehathach
fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low)
2026-03-06add full read/write() API, use edpt stream for printer classhathach
2026-03-06update printer class: enhance descriptors, buffer sizes, and callbackshathach
2026-03-06Merge branch 'refs/heads/master' into fork/remiberthoz/device-class-printerhathach
2026-03-06Merge pull request #3528 from hathach/improve-iar-warningsHa Thach
Add IAR warning flags to CMake build and resolve warnings
2026-03-06fix warningshathach
2026-03-05add IAR warning flags to cmake build and fix themhathach
2026-03-05update PORTSC1Zixun LI
Signed-off-by: Zixun LI <[email protected]>
2026-03-05ci_hs: add deinit supportZixun LI
Signed-off-by: Zixun LI <[email protected]>
2026-03-05Merge pull request #3378 from hathach/dwc2_deinitHa Thach
Add DWC2 deinit support
2026-03-05improve threadx support, add multi ROTS support for board_test and msc_dual_lunhathach
2026-03-05Merge branch 'master' into fork/armusin/threadx_osalhathach
2026-03-05add hs_phy_type parameter to dwc2_phy_deinit for selective PHY ↵hathach
deinitialization across all MCUs
2026-03-04Merge branch 'master' into dwc2_deinithathach
2026-03-04add PHY deinitialization support for DWC2 driver across all MCUshathach
2026-03-04Merge pull request #3490 from Precidata/non-blocking-host-v2Ha Thach
Fully asynchrounous host code (v2)
2026-03-03Merge branch 'master' into dwc2_deinithathach
2026-03-02more call_after timeout adjustment with rtoshathach
2026-03-02improve timeout adjustment, exit tuh_task() by timeout_ms = 0hathach
2026-03-02fix(dcd/dwc2): Do not modify FS PHY registers on HS PHY ESP32-P4Tomas Rezucha
2026-03-02fix call_after timeout adjustment with rtoshathach
2026-03-02- rename to usbh_defer_func_ms_async()hathach
- call after (enum non-blocking delay) also support rtos now
2026-03-01Merge pull request #3514 from sauloverissimo/fix/midi-device-cable-demuxZixun LI
midi device: add cable-aware stream read (tud_midi_n_demux_stream_read)
2026-03-01Merge remote-tracking branch 'tinyusb/master' into ncm_restartHiFiPhile
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2026-02-27add osal_time_millis() to osal requirementhathach
implement tusb_time_millis_api() with osal_time_millis() when OS is not NONE
2026-02-27add back deferred attachment queue, retry get hub port status if reset ↵hathach
change not set after 20ms
2026-02-27cleanupHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-27Merge remote-tracking branch 'tinyusb/master' into dwc2_deinitHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-27Fix IAR warningsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-27dcd/samx7x: reformat codeHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-27dcd/samx7x: remove buggy DMA FIFO transferHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-27dcd/samx7x: synchronize DMA and cache optionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-26fix fallthroughhathach
2026-02-26revert usbh dedicated queue for attached eventhathach
2026-02-26refactor, rename to schedule function with usbh_call_after_ms() to use with ↵hathach
enumeration delay
2026-02-25midi 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-25fix CDC host FTDI multiple channel loophathach
fix typos for ftdi_process_set_config() add J-Link GDB + RTT logging instructions
2026-02-23refactor: streamline high-speed PHY detection and configuration in DWC2 driverhathach
2026-02-23refactor: improve high-speed PHY handling and FIFO configuration in DWC2 driverhathach
2026-02-22Merge branch 'hathach:master' into non-blocking-host-v2Cédric Berger
2026-02-22Apply suggestions from code reviewZixun LI
Co-authored-by: Copilot <[email protected]>
2026-02-22refactor speed checkHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-21check femtoPHY speedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-21fix ciHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-20refactor config optionHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-19Fix a couple indentationsCédric Berger
2026-02-19Introduce TUH_CFGID_PHY_SPEED configure optionCédric Berger
2026-02-19Better variable/function namesCédric Berger
2026-02-14add(usbh.c): LOG1 debug message when no address available for hubRoman Leonov