summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
AgeCommit message (Collapse)Author
2026-05-04refactor: replace `tu_edpt_state_t` struct with `uint8_t` and update all ↵hathach
endpoint state handling methods and accesses
2026-03-22False negative in tuh_task_event_ready()Cédric Berger
2026-03-22False positive in tuh_task_event_ready()Cédric Berger
2026-03-22We must wait at least the requested amountCédric Berger
2026-03-09fix(usbh): correct memcpy usage to ensure proper alignment with `offsetof` ↵hathach
in device descriptor handling
2026-03-09refactor: add desc_device_noheader_t to simplify get device descriptor localhathach
2026-03-09usbh device descriptor validation, also check ep size > 0hathach
2026-03-04Merge 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 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-02-28replace board_millis() with tusb_time_millis_api()hathach
2026-02-27add back deferred attachment queue, retry get hub port status if reset ↵hathach
change not set after 20ms
2026-02-27Merge remote-tracking branch 'tinyusb/master' into dwc2_deinitHiFiPhile
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-22Merge branch 'hathach:master' into non-blocking-host-v2Cédric Berger
2026-02-14add(usbh.c): LOG1 debug message when no address available for hubRoman Leonov
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-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-06catch deinit errorHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-03fix rusb2 hcd_port_connect_status() using line state, add post root reset ↵hathach
delay for stable speed detection
2025-12-15minor updatehathach
2025-12-15Merge branch 'refs/heads/master' into enum_catchhathach
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-11-27usbh: detach existing device first if an attach event is receivedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-26usbh: watch hub status before driver configHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-26usbh: Stop enumeration gracefully if EP0 can't be openHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-07fix more alerts found by pvs-studiohathach
2025-11-03fix more warnings/alertshathach
2025-09-18set driver count to 0HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12ehci: fix removed qhd get reusedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-12Fix some IAR warningsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-30Merge branch 'master' into fork/HiFiPhile/async_iohathach
2025-06-22Merge branch 'master' into async_ioHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-20usbh make TU_API_SYNC() public, to implement sync() API, change return of ↵hathach
sync API from uint8_t to tusb_xfer_result_t
2025-06-18usbh: add new API tuh_descriptor_get_device_local()hathach
cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303
2025-05-21add usbh_spin_lock/unlock() use spinlock instead of atomic flag for hcd max3421hathach
2025-05-13fix dual example for rp2350 conflict printf and cdc_printfhathach
2025-05-13fix warnings, minor clean uphathach
2025-05-06chore(usbh): change removing_hubs to array instead of bitmaskhathach
2025-05-06usbh: force removed device in the same bus info, before setting address.hathach
usbh: move code around hub: queue status endpoint for detach/remove event
2025-04-29add enum for set addr recoveryhathach