summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2025-07-07Merge pull request #2963 from HiFiPhile/stm32_cacheHa Thach
Add DWC2 cache maintenance routines for STM32
2025-07-07change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1hathach
use stock iar linker
2025-07-07support at32 mcuzhiqiang
2025-07-05Use DMA enable for DCache conditionHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-05always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 ↵hathach
support host mode reformat hcd usbfs add uart rx for ch32v20x bsp
2025-07-04Merge branch 'refs/heads/master' into fork/verylowfreq/pr-ch32v-usbfs-hosthathach
2025-06-25stm32_fsdev: Allow configuring single-buffered isochronous endpoints.milek7
Controlled by the embedder defining CFG_TUD_FSDEV_DOUBLE_BUFFERED_ISO_EP in tusb_config.h. If hardware does have SBUF_ISO bit it will use only one half of endpoint pair register.
2025-06-13Add STM32 DWC2 cache supportHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-06-12merge n6 and h7rs (same config)hathach
2025-06-12Merge branch 'master' into fork/james-advatek/stm32n657nucleohathach
2025-06-11add h7rs to ci matrixhathach
2025-06-11Merge branch 'master' into fork/HiFiPhile/h7rshathach
2025-06-04docs: update dwc2_info.mdJames Sandison
2025-06-04chore: squash previous commits from other branchesJames Sandison
2025-05-23Merge pull request #3111 from hathach/ci_vbusHa Thach
2025-05-21add usbh_spin_lock/unlock() use spinlock instead of atomic flag for hcd max3421hathach
2025-05-21remove unused dwc2_critical.hhathach
2025-05-21add usbd_spin_lock/unlock for driver usagehathach
2025-05-21osal_spin skipping lock/unlock when executed in isrhathach
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-05-04dcd/ci_hs: add vbus charge option.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
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-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-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]>