summaryrefslogtreecommitdiff
path: root/src/portable/synopsys
AgeCommit message (Collapse)Author
2025-05-20rename osal_critcal to osal_spinlockhathach
add spinlock implementation for most rtos
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-05-17[stm32] Wait until the PHYC PLL is stableNiklas Hauser
2025-05-15Merge branch 'master' into h7rsHiFiPhile
2025-05-15Merge branch 'master' into xfer_closeHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-15Fix transfer failed event still queuedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-18Disable channel properly.HiFiPhile
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-18clean up, remove halted_sof_schedule flags since channel_xfer_in_retry() is ↵hathach
only called when channel is halted.
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-12host/dwc2: cleanup transfer on device closeHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-12Merge remote-tracking branch 'upstream/master' into h7rsHiFiPhile
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-04dwc2/host: clear SOF flag in handle_sof_irq()Maxime Vincent
2025-03-26added hcd_edpt_close() stub for other portshathach
2025-03-24Merge remote-tracking branch 'upstream/master' into h7rsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-03-06fix(dwc2) host driver conflict with max3421ehathach
2025-01-24Add NUCLEO-H7S3L8 BSP.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-12-11fix correct DWC2_EP_COUNThathach
2024-12-02Disable DWC HCD interrupt with MAX3421 enabledScott Shawcroft
hcd_int_handler isn't found otherwise.
2024-11-28fix(dcd_dwc2): Correct usage of dwc2_controllerRoman Leonov
2024-11-28fix(dcd_dwc2): Reset allocated_epin_count on bus reset and close all epRoman Leonov
2024-11-27fix typohathach
2024-11-26hcd dwc2 add dcache support, usbh correctly use cache line size with ↵hathach
TUH_EPBUF_DEF