summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-23Merge pull request #3093 from hathach/refactor-usbh-bus-infoHa Thach
refactor(usbh) improve the usage of bus info
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-23Merge pull request #3080 from HiFiPhile/enum_racingHa Thach
host: fix enumerate racing
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-21Merge pull request #3075 from maximevince/dwc2-proper-attach-debouncingHa Thach
dwc2/host: attach debouncing fixes
2025-04-21improve usbh stability with failed setup send, prevent control stage locked outhathach
2025-04-21Merge pull request #3088 from HiFiPhile/intvHa Thach
Fix 1st nak retry one frame shorter.
2025-04-19enable SOF interrupt only if not already enabledHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-19Merge pull request #3077 from HiFiPhile/ping_outHa Thach
2025-04-18- correctly do_ping if received nyet as transfer complete e.g msc 31 byte ↵hathach
command - correctly carry out OUT transfer when PING is ack
2025-04-18Merge branch 'dwc2-proper-attach-debouncing' of ↵HiFiPhile
github.com:maximevince/tinyusb into dwc2-proper-attach-debouncing
2025-04-18Fix usbh racing later.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Merge branch 'master' into dwc2-proper-attach-debouncingHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18minor renamehathach
2025-04-18Merge branch 'master' into fork/HiFiPhile/ping_outhathach
# Conflicts: # src/portable/synopsys/dwc2/hcd_dwc2.c
2025-04-18Fix 1st nak retry one frame shorter.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Merge pull request #3072 from maximevince/dwc2-retry-in-token-immediatelyHa Thach
dwc2/host: immediately retry IN token for bInterval=1
2025-04-18Merge pull request #3084 from joelpmichael/hcd-template-commentsHiFiPhile
note potential issues using ep_desc in hcd_edpt_open()
2025-04-18Merge pull request #3067 from maximevince/dwc2-host-fix-disconnectHiFiPhile
dwc2/host: enable disconnect interrupt + handle it
2025-04-18clean up, remove halted_sof_schedule flags since channel_xfer_in_retry() is ↵hathach
only called when channel is halted.
2025-04-18Merge remote-tracking branch 'upstream/master' into hcd-template-commentsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Update hcd_edpt_open() note.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Merge pull request #3081 from hathach/usbh-enum-get-string-desc-firstHa Thach
usbh enum get string descriptor length first
2025-04-18minor ci updatehathach
2025-04-18change gh ci iar to push eventhathach
2025-04-18enum For string descriptor (langid, manufacturer product, serila): always ↵hathach
get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow.
2025-04-17Merge pull request #3086 from hathach/ci-add-picow-hostHa Thach
Ci add picow host test
2025-04-17run arm-iar with non-forked PRhathach
2025-04-17- hil test max retry = 3hathach
- fix h7 unused function
2025-04-17github ci support setup/install iar toolchainhathach
2025-04-17- run arm-iar using github actionhathach
- add skip_ci.txt to family folder to skip boards in ci run
2025-04-17fix iar make build with stm32 l0, f2, f3, u5, wbhathach
2025-04-17fix iar make build with wb and u5hathach
2025-04-17update iar buildhathach
2025-04-17add toolchain.json for toolchain urlhathach
2025-04-17ci add pico_w for native host testhathach
2025-04-17Merge pull request #3085 from hathach/ci-add-s3-hostHa Thach
Ci add s3 host
2025-04-16de-duplicate flash board_test for board with multiple flags_onhathach
2025-04-16add TS3USB30 to test s3 host with slave/dmahathach
2025-04-16note potential issues using ep_desc in hcd_edpt_open()Joel Michael
2025-04-15dwc2/host: fix all retry intervalsMaxime Vincent
Signed-off-by: Maxime Vincent <[email protected]>