summaryrefslogtreecommitdiff
path: root/src/portable/synopsys
AgeCommit message (Collapse)Author
2025-09-16Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/runtime:igor.masar
- tusb_option.h: define OPT_MCU_ESP32H4 - tusb_mcu.h: enable DWC2 USBIP for H4 - dcd_dwc2.c: add H4 USB_WRAP field aliases (wrap_* → legacy names) - dwc2_esp32.h: add H4 controller entry (FS base/IRQ, ep caps) - family.c: include H4 in USB init/PHY setup
2025-09-15add nrf54 to dwc2 infohathach
2025-09-15dwc2: wait for ahb idle before core resethathach
2025-09-11Revert "Incorporate upstream changes to dwc2_common.c"hathach
This reverts commit 48f6b95bd8b0c3d33832f289b02b53da410d5ef9. also revert gsnpsid shadown since it is already in the upstream
2025-09-10Bring up to date with masterDalton Caron
2025-09-10Incorporate upstream changes to dwc2_common.cDalton Caron
2025-09-10Initial STM32WBARI eval supportDalton Caron
Clean up includes definitions Remove wait that is not required Remove redundant settings Clean up clock configuration to look like other modules Remove MSP_Init that is not required Clean up driver code dhcp: Fix DHCP_OFFER/DHCP_ACK destinaton. In RFC 2131, the destination of DHCP OFFER/ACK is defined in Section 4.1. Fix the destination error by following the rule of RFC 2131. TODO: We implement all rule but the last one. ARP table is required to associate client's macaddr. Currently, fallback to broadcast. Signed-off-by: Elwin Huang <[email protected]> Fix compile error. Fix goto indentation Co-authored-by: Copilot <[email protected]> Fix osal_spin_unlock for mynewt Mynewt version for osal_spin_unlock() called OS_ENTER_CRITICAL instead of OS_EXIT_CRITICAL. Signed-off-by: Jerzy Kasenberg <[email protected]> Add ESP32-C5 and ESP32-C61 definitions fix(dcd/dwc2): Fix reset procedure for versions >=4.20a Fix STM32L4 GPIOD clock enable for variants without GPIOD Add weact blackpill support Add to boards.rst file Fix file Small cleanups. Insert small delay for LowSpeed device Improve retry operation at NAK response. Remove dynamic memory allocation use tusb_time_millis_api() instead of board_millis() make loopdelay() always inline update at32f405 dwc2 info and phy width selection add at32f415 dwc2 info add some consumer page configs remove duplicated enum Initial plan Fix obsolete cnt assignment in _tu_fifo_peek() overflow check Co-authored-by: hathach <[email protected]> Initial plan Update STM32 CMSIS dependencies to fix HSITRIM register bug Co-authored-by: hathach <[email protected]> Remove accidentally committed dependency directories Co-authored-by: hathach <[email protected]> Update all STM32 HAL driver dependencies to latest versions Co-authored-by: hathach <[email protected]> fix linker h745 issue with clang fix linker h745 issue with clang Update all STM32 CMSIS device dependencies to latest versions Co-authored-by: hathach <[email protected]> update pio-usb Create comprehensive GitHub Copilot instructions and fix pre-commit configuration for TinyUSB (#3234) * Initial plan * Create comprehensive GitHub Copilot instructions for TinyUSB Co-authored-by: hathach <[email protected]> * Remove accidentally committed dependencies, use tools/get_deps.py instead Co-authored-by: hathach <[email protected]> * Fix .gitignore: ignore vendor/ directory not ceedling script Co-authored-by: hathach <[email protected]> * Revert .gitignore changes and add README_processed.rst Co-authored-by: hathach <[email protected]> * Remove README_processed.rst and revert ceedling file permissions Co-authored-by: hathach <[email protected]> * Changes before error encountered Co-authored-by: hathach <[email protected]> * Remove redundant manual validation step, keep only pre-commit and build validation Co-authored-by: hathach <[email protected]> * fix pre-commit --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: hathach <[email protected]> modified the bsp files of at32 to make them work better the family name error of at32 has been corrected fix pre-commit STM32N6570-DK board is added. Build with DEBUG=1 (make BOARD=stm32n6570dk DEBUG=1 all), otherwise it does not work for now. Tested with examples/device/cdc_dual_ports
2025-09-10Merge pull request #3126 from salkinium/fix/phyc_pllHa Thach
[stm32] Wait until the PHYC PLL is stable
2025-09-10use tusb_time_delay_ms_api for delay, also move tusb_time api to common.hhathach
2025-09-03Merge pull request #3206 from hathach/update-at32f405-phywidth-selHa Thach
update at32f405 dwc2 info and phy width selection
2025-09-03add at32f415 dwc2 infohathach
2025-08-28fix(dcd/dwc2): Fix reset procedure for versions >=4.20aTomas Rezucha
2025-08-07update at32f405 dwc2 info and phy width selectionhathach
2025-08-01Merge pull request #3191 from hathach/at32Ha Thach
support at32 mcu (2)
2025-07-31clean uphathach
2025-07-28fix pre-commit, remove svd file since they are heavy and should be in ↵hathach
mcu/sdk instead add cmake support for f403a_407 and f423
2025-07-10FIx recurrent suspend ISR.HiFiPhile
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-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-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-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-18clean up, remove halted_sof_schedule flags since channel_xfer_in_retry() is ↵hathach
only called when channel is halted.