summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-03-27fix string overflowHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-25mtp: fix adding empty cstring to mtp_container_infostepan chepushtanov
2026-03-04Merge pull request #3490 from Precidata/non-blocking-host-v2Ha Thach
Fully asynchrounous host code (v2)
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-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-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
2026-02-13use CFG_TUD_CONFIGURE_DWC2_DEFAULT to make it easier to add more valuehathach
2026-02-13add CFG_TUD_VBUS_SENSE, that could allow to skip tud_configure() for fixed ↵hathach
vbus sensing simplify dwc2_stm32_gccfg_cfg() using guid value
2026-02-13Merge branch 'refs/heads/master' into dwc2_vbushathach
2026-02-11Merge remote-tracking branch 'origin/master' into msc_stallhathach
2026-02-11device/msc: only defer prepare_cbw() from STATUS_SENT when EP OUT stalledhathach
2026-02-11Update tusb_verify.hCédric Berger
2026-02-11Introduce CFG_TUSB_DEBUG_BREAKPOINT hookCédric Berger
2026-02-11Put deferred attachments in a separate queueCédric Berger
2026-02-11Call continuation functions asynchronouslyCédric Berger
2026-02-11Split functions calling tusb_time_delay_ms_api()Cédric Berger
2026-02-07minor updatehathach
2026-02-06adjust handle_xfer_in logic to simplify ZLP handlinghathach
2026-02-06Merge branch 'refs/heads/master' into musb_fixhathach
2026-02-05Merge pull request #3472 from hathach/u0_fixHa Thach
fix stm32u0 data stride
2026-02-05reverse pma size check to reduce duplicationhathach
2026-02-03Fix DFU descriptor version from 1.0.1 (0x0101) to 1.1.0 (0x0110)copilot-swe-agent[bot]
Co-authored-by: hathach <[email protected]>
2026-02-01Actually exit the loop in addition to logging. ENOTENOUGHCOFFEECédric Berger
2026-02-01Limit events processed by tud_task_ext() / tuh_task_ext()Cédric Berger
2026-01-31dwc2: add stm32n6 DMA regionsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-31dwc2: add vbus sense configHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-30dcd/dwc2: Fix SEDET unable to be cleared on stm32u5HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>