summaryrefslogtreecommitdiff
path: root/src/host
AgeCommit message (Collapse)Author
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-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 'master' into enum_catchhathach
2025-12-15Merge branch 'refs/heads/master' into enum_catchhathach
2025-12-13Merge branch 'refs/heads/master' into hcd_fsdevhathach
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-30Update noteHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-11-27Add max nak configZixun LI
Signed-off-by: Zixun LI <[email protected]>
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-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
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-06-09Fix TUH_EPSIZE_BULK_MPS macroCédric Berger
TUH_EPSIZE_BULK_MPS should be set based on TUH_OPT_HIGH_SPEED, not TUD_OPT_HIGH_SPEED
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-29define hcd_devtree_info_t forr backward compatiblehathach
2025-04-29add enum for set addr recoveryhathach
2025-04-28remove the old attach duplicated logic, debouncing skip should take care of it.hathach
2025-04-28usbh: add roothub debounncing flag to ignore attach/remove event on the ↵hathach
roothub that is currently doing debouncing delay
2025-04-24hub check status before get 1st device descriptorhathach
2025-04-24fix buildhathach
2025-04-24refactor hub driver and move port reset on connection change to usbh.hathach
hub: add hub_port_get_status_local(), ignore resp in hub_port_get_status(pot != 0) usbh properly deboucning with hub/rootport accordingly to usb specs, also add 10ms of reset recovery
2025-04-24add tuh_address_set() APIhathach
minor rename and move code around
2025-04-23move usbh ctrl_xfer into usbh_datahathach
2025-04-23rename and expose tuh_bus_info_get() to applicationhathach
2025-04-23rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵hathach
hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-22Compile fix.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22reduce ENUM_DEBOUNCING_DELAY_MS to 200mshathach
replace dev0.enumerating by enumerating_daddr for better clean up on unplugging while enumerating move controller_id & enumerating_daddr into _usbh_data struct
2025-04-22move removing dev0 to process_removing_device()hathach
2025-04-22Also cleanup unaddressed device.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22Move decouncing delay before USB reset.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22host: fix enumerate racingHiFiPhile
- if a previous enumeration failed _ctrl_xfer status could stuck, it needs to be cleared before next attempt. - after _dev0.enumerating is reset in hcd_event_handler(), if an attach event arrived before _ctrl_xfer clean up in remove event, a racing condition will happen. Signed-off-by: HiFiPhile <[email protected]>
2025-04-21improve usbh stability with failed setup send, prevent control stage locked outhathach
2025-04-18Fix usbh racing later.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>