summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2025-05-19implement osal critical for none/freertos/pico-sdkhathach
2025-05-19dwc2 only enter critical in isr with multiple core CPUshathach
2025-05-19add osal_critical API() for use with dwc2hathach
2025-05-19fix(dcd): Fixed race condition on device disconnectTomas Rezucha
TinyUSB does not provide any locking means to protect the DCD variables. This can lead to race conditions when the user is trying to submit a transfer while the device is being disconnected. This can cause the device to be in an inconsistent state, leading to a crash or undefined behavior. This commit adds a spin-lock to protect the DCD variables during device disconnect. Closes https://github.com/espressif/esp-idf/issues/9691 Also reported in https://github.com/espressif/esp-usb/pull/131
2025-04-29attach debouncing fixed issue with port1 highspeed on imxrthathach
2025-04-28usbh: add roothub debounncing flag to ignore attach/remove event on the ↵hathach
roothub that is currently doing debouncing delay
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-21Merge pull request #3075 from maximevince/dwc2-proper-attach-debouncingHa Thach
dwc2/host: attach debouncing fixes
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-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 '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-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-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]>
2025-04-15dwc2/host: immediately retry IN token for bInterval=1Maxime Vincent
Signed-off-by: Maxime Vincent <[email protected]>
2025-04-15Merge branch 'master' into dwc2-host-fix-disconnectMaxime Vincent
2025-04-15Merge pull request #3070 from HiFiPhile/bitfieldHa Thach
host/dwc2: fix bitfields access width
2025-04-14channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline functionhathach
2025-04-12Fix typoHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-12Fix handle_hprt_irqHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-11host/dwc2: resume OUT transfer when PING ACKedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-11dwc2/host: attach debouncing fixesMaxime Vincent
2025-04-11dwc2/host: HFIR: Fix timing off-by-oneMaxime Vincent
2025-04-09Fix CI.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-09dwc2: refactor bitfields.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-08dwc2/host: remove hcd_event_device_remove() call from handle_hptr_irq to ↵Maxime Vincent
prevent double removal Signed-off-by: Maxime Vincent <[email protected]>
2025-04-07dwc2/host: enable disconnect interrupt + handle itMaxime Vincent
Signed-off-by: Maxime Vincent <[email protected]>
2025-04-06Merge pull request #3063 from maximevince/dwc2-host-fix-sof-flagHiFiPhile
dwc2/host: clear SOF flag in handle_sof_irq()
2025-04-04dwc2/host: clear SOF flag in handle_sof_irq()Maxime Vincent
2025-04-03fix(hcd) hcd_edpt_open() return true if endpoint is already opened.hathach
2025-03-26added hcd_edpt_close() stub for other portshathach
2025-03-26hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement ↵hathach
hcd_edpt_close()
2025-03-25add tuh_edpt_close() API, it will abort any pending transferhathach
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2025-03-16Fix 2 IAR warnings.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-03-07Merge pull request #2937 from pschatzmann/rp2040-isoHa Thach
rp2040 correct dcd_edpt_iso_activate
2025-03-06fix(dwc2) host driver conflict with max3421ehathach
2025-03-05rp2040: abort transfer if active in iso_activate()hathach
add hw_endpoint_abort_xfer()
2025-03-05Merge branch 'master' into fork/pschatzmann/rp2040-isohathach
2025-02-28fix(hcd_rp2040) assert/panic endpoint already active: when a device reset ↵hathach
while having on-going control transfer
2025-02-11Merge pull request #2914 from ReimuNotMoe/masterHa Thach
Various fixes for the Microchip Chipidea FS driver
2025-02-06use speed enumJannis Konrad