Commit Graph

573 Commits

Author SHA1 Message Date
fd9d43d7c5 refactor spresense into cxd56. there is no orphan board in bsp. 2025-10-15 19:31:16 +07:00
8199ed6fd0 refactor all nuc to family 2025-10-15 13:37:21 +07:00
0d690c8b80 update nuc121/125 2025-10-15 12:49:36 +07:00
2a8811ebb0 merge samd2x and saml2x bsp, add OPT_MCU_SAML2X to replace OPT_MCU_SAML21 & OPT_MCU_SAML22 2025-10-15 00:15:46 +07:00
38255ffc38 Merge pull request #3299 from hathach/initial-nrf54h20
Initial nrf54h20 support
2025-10-14 14:22:45 +07:00
ee7a7c56db get cmake build with 54h20 not tested on actual hw, probably not running 2025-10-13 12:41:55 +07:00
aa0fc2e08f successfully 2025-10-10 10:20:19 +05:30
044512c459 fix typo 2025-10-06 13:34:05 +07:00
bdd557caf1 Merge branch 'master' into fork/ennebi/mtp 2025-09-29 15:32:08 +07:00
152d25ed62 Merge pull request #3256 from hathach/weak_cb
Migrate weak function override to new syntax, update delay api usage
2025-09-27 20:38:03 +07:00
7162caee20 Fix erroneous documentation of TU_ASSERT/TU_VERIFY 2025-09-22 12:58:24 +02:00
e76d09bb42 rework get storageIDs and get storage info 2025-09-19 16:05:37 +07:00
369a1ff515 Update weak callbacks to new syntax
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-17 22:48:59 +02:00
f18b750550 use existing overloadable Pico SDK section macro instead of creating a custom one 2025-09-17 12:38:47 -05:00
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
cc19c02f86 dwc2: wait for ahb idle before core reset 2025-09-15 15:47:06 +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
da9284e88b Fix obsolete cnt assignment in _tu_fifo_peek() overflow check
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
2025-09-03 10:42:17 +00:00
ddb8f0fe73 Add ESP32-C5 and ESP32-C61 definitions 2025-08-15 10:15:24 -07:00
2298c2f410 Fix AT32F405xx missing USB HS definition 2025-08-05 18:17:27 +07:00
8f46021eba Merge pull request #3183 from rppicomidi/fix_3159
Fix #3159: Handle MIDI interface after audio streaming interface
2025-08-02 20:34:25 +07:00
12a1d0e7ed use tu_desc_in_bounds() for descriptor loop 2025-08-02 11:23:15 +07:00
a16c7a27e4 Merge pull request #3191 from hathach/at32
support at32 mcu (2)
2025-08-01 10:39:47 +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
970c8b744e Merge branch 'master' into fork/HiFiPhile/stm32_cache 2025-07-03 17:07:52 +07:00
5c974cee23 usbh make TU_API_SYNC() public, to implement sync() API, change return of sync API from uint8_t to tusb_xfer_result_t 2025-06-20 12:51:29 +07:00
9503883ba7 usbh: add new API tuh_descriptor_get_device_local()
cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303
2025-06-18 23:44:03 +07:00
e19ff3ecae Add cache line size alignment to buffer macro
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +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
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
9aea7751f2 dwc2 only enter critical in isr with multiple core CPUs 2025-05-19 20:04:20 +07:00
67389f37f2 follow up to pr3118, interface also end with IAD. Add more checks 2025-05-16 16:39:53 +07:00
e8a84f9076 enum For string descriptor (langid, manufacturer product, serila): always get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow. 2025-04-18 10:53:12 +07:00
db537861b2 device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_t
add tx_overwritabe_if_not_connected for cdc driver configure
2025-03-24 22:58:21 +07:00
ee234a84ca hack: force/overwrite endpoint mps to 64 for device that incorrectly report 512 bytes for bulk in fullspeed mode. 2025-03-06 11:03:47 +07:00
39e6375b74 midi host: skip rx data with all zeroes 2025-03-06 10:26:45 +07:00
8c0c21189c Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-03-05 18:25:31 +07:00
5f447b76ad - add tuh_descriptor_get_string_langid() API
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
2025-03-03 23:22:23 +07:00
71e046d9ff add tuh_midi_descriptor_cb() 2025-02-24 10:55:03 +07:00
6ebd362cfd Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-02-21 10:59:40 +07:00
792a446405 usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.
added tuh_connected()
2025-02-17 22:40:19 +07:00
bad6cbe489 update midi host to use endpoint stream API 2025-02-13 15:54:31 +07:00
22a6777c2d enable CFG_TUD/THU_MEM_DCACHE_ENABLE for imxrt with M7 by default 2024-12-17 20:53:50 +07:00