Commit Graph

2009 Commits

Author SHA1 Message Date
4182342112 Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/runtime:
- 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-16 12:38:35 +02:00
6f06effd03 add nrf54 to dwc2 info 2025-09-15 16:18:07 +07:00
cc19c02f86 dwc2: wait for ahb idle before core reset 2025-09-15 15:47:06 +07:00
f674561696 Merge pull request #3246 from HiFiPhile/nxp_host
ehci: fix device removal and endpoint open on next plug
2025-09-13 12:07:44 +07:00
cf6cbf0d1a Fix AT32 compile after #3152
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-12 21:33:08 +02:00
8515e47ad9 Update comment
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-12 16:49:55 +02:00
fad3dc4926 Merge branch 'master' into sb-ep 2025-09-12 15:49:40 +02:00
99bee6a900 ehci: fix removed qhd get reused
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-12 15:00:19 +02:00
4db2bdad07 echi: fix NXP USBPHY disconnection detection
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-12 14:08:54 +02:00
5755afa690 Fix some IAR warnings
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-12 11:39:41 +02:00
a20252ad59 Merge branch 'master' of github.com:Dolphindalt/tinyusb 2025-09-11 09:15:16 -07:00
af7310b925 Revert fsdev_stm32.h changes 2025-09-11 09:13:54 -07:00
5e661eac88 Revert "Incorporate upstream changes to dwc2_common.c"
This reverts commit 48f6b95bd8.

also revert gsnpsid shadown since it is already in the upstream
2025-09-11 11:00:05 +07:00
c9527bc096 Bring up to date with master 2025-09-10 11:14:52 -07:00
48f6b95bd8 Incorporate upstream changes to dwc2_common.c 2025-09-10 11:13:29 -07:00
19f67ffc22 Initial STM32WBARI eval support
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 <s09289728096@gmail.com>

Fix compile error.

Fix goto indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

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 <jerzy@apache.org>

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 <249515+hathach@users.noreply.github.com>

Initial plan

Update STM32 CMSIS dependencies to fix HSITRIM register bug

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Remove accidentally committed dependency directories

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Update all STM32 HAL driver dependencies to latest versions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

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 <249515+hathach@users.noreply.github.com>

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 <249515+hathach@users.noreply.github.com>

* Remove accidentally committed dependencies, use tools/get_deps.py instead

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Fix .gitignore: ignore vendor/ directory not ceedling script

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Revert .gitignore changes and add README_processed.rst

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove README_processed.rst and revert ceedling file permissions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Changes before error encountered

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove redundant manual validation step, keep only pre-commit and build validation

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* fix pre-commit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

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-10 11:12:49 -07:00
b6b22096dd Merge pull request #3126 from salkinium/fix/phyc_pll
[stm32] Wait until the PHYC PLL is stable
2025-09-10 17:45:59 +07:00
d70d4043dc use tusb_time_delay_ms_api for delay, also move tusb_time api to common.h 2025-09-10 16:59:26 +07:00
047b856742 Merge pull request #3206 from hathach/update-at32f405-phywidth-sel
update at32f405 dwc2 info and phy width selection
2025-09-03 20:44:51 +07:00
c5a390950f add at32f415 dwc2 info 2025-09-03 17:20:54 +07:00
61761b9434 Merge pull request #3225 from verylowfreq/pr-ch32v-usbfs-host
Improve compatibility in CH32V20x USBFS Host
2025-09-03 17:15:00 +07:00
f5d04833bb use tusb_time_millis_api() instead of board_millis()
make loopdelay() always inline
2025-09-03 13:30:20 +07:00
38f41f5fa2 fix(dcd/dwc2): Fix reset procedure for versions >=4.20a 2025-08-28 15:35:55 +02:00
6f2b5fc495 Remove dynamic memory allocation 2025-08-24 23:52:52 +09:00
a3bb7a90b3 Improve retry operation at NAK response. 2025-08-24 16:46:12 +09:00
522a34ee28 Insert small delay for LowSpeed device 2025-08-24 16:28:32 +09:00
bd9dd75da8 Small cleanups. 2025-08-24 16:26:08 +09:00
5b9908a39b update at32f405 dwc2 info and phy width selection 2025-08-07 14:20:40 +07:00
4bfba6b09a fix rp2 iso transfer: reset state before notify stack. since new audio driver can execute xfer_is() 2025-08-05 22:05:56 +07:00
a16c7a27e4 Merge pull request #3191 from hathach/at32
support at32 mcu (2)
2025-08-01 10:39:47 +07:00
e0f2343954 clean up 2025-07-31 23:26:27 +07:00
3682b6c663 fix pre-commit, remove svd file since they are heavy and should be in mcu/sdk instead
add cmake support for f403a_407 and f423
2025-07-28 22:28:22 +07:00
1d2735fb54 FIx recurrent suspend ISR. 2025-07-10 12:33:54 +07:00
e598972438 add board_vbus_set() for samd21/d51 to enable usb host vbus
enable host example build for samd21/d51
2025-07-09 16:01:11 +07:00
386f551899 Merge branch 'refs/heads/master' into fork/ChrisDeadman/hcd-samd-support 2025-07-09 13:07:13 +07:00
9990e4bf0c Merge pull request #2963 from HiFiPhile/stm32_cache
Add DWC2 cache maintenance routines for STM32
2025-07-07 22:02:30 +07:00
3eb0451879 change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1
use stock iar linker
2025-07-07 20:31:49 +07:00
73bf9aeaa6 support at32 mcu 2025-07-07 14:13:15 +08:00
3287cfaf76 Use DMA enable for DCache condition
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-07-05 12:50:00 +02:00
6e88895dbc always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 support host mode
reformat hcd usbfs
add uart rx for ch32v20x bsp
2025-07-05 11:26:48 +07:00
1b5f97ff23 Merge branch 'refs/heads/master' into fork/verylowfreq/pr-ch32v-usbfs-host 2025-07-04 09:49:28 +07:00
4ae433fa6e stm32_fsdev: Allow configuring single-buffered isochronous endpoints.
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-25 22:10:22 +02:00
e84efd2771 Add STM32 DWC2 cache support
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 15:21:04 +02:00
7d66a3e775 merge n6 and h7rs (same config) 2025-06-12 21:20:49 +07:00
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
14124c1735 add h7rs to ci matrix 2025-06-11 19:35:20 +07:00
d3d505e8f7 Merge branch 'master' into fork/HiFiPhile/h7rs 2025-06-11 16:23:54 +07:00
5c4b2c75d2 docs: update dwc2_info.md 2025-06-04 13:21:34 +10:00
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
8f077f9295 Merge pull request #3111 from hathach/ci_vbus 2025-05-23 21:50:00 +07:00