Commit Graph

4380 Commits

Author SHA1 Message Date
b8126d9c4e clean up 2025-09-24 15:27:20 +07:00
6317730be6 unify callback argument. support multiple packet get object 2025-09-24 12:49:52 +07:00
3c39f60f63 refactor API 2025-09-23 15:23:16 +07:00
1ab45bc525 try to add logo png to mtp example 2025-09-23 09:34:03 +07:00
6fa5268a9c implement get object, close session 2025-09-22 13:10:22 +07:00
4c818998d4 implement get object info 2025-09-21 21:39:27 +07:00
f5a3f25456 implement get objection handles 2025-09-21 20:32:50 +07:00
d9c6dfbe2b implement get device properties describer and device properties value 2025-09-20 17:37:47 +07:00
b70804b0c4 implement get device properties value 2025-09-20 00:42:06 +07:00
57c5e5516a rework get storageIDs and get storage info 2025-09-19 16:41:29 +07:00
e76d09bb42 rework get storageIDs and get storage info 2025-09-19 16:05:37 +07:00
f99f203c28 reworking MTP API, adding callback, getting GetDeviceInfo working 2025-09-19 12:07:47 +07:00
aea56dc776 remove mtp context 2025-09-16 22:43:18 +07:00
541c62ceae refactor mtp xfer callback 2025-09-16 22:23:57 +07:00
10298f0b27 refactor generic container to use EPBUF declaration
simplify container field name
2025-09-16 14:25:54 +07:00
5fb8c57f5c merge context into interface and refactor, reformat 2025-09-16 11:40:07 +07:00
8e34ba9cf6 Merge branch 'master' into fork/ennebi/mtp 2025-09-15 16:45:41 +07: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
802819d271 add all constant from MTP specs appendix, rename some e.g OPEC to OP, EVTC to EVENT 2025-09-12 17:13:52 +07: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
0263cfc01a fix #3239: discard poorly formed packets 2025-09-06 06:58:35 -07:00
93487deab7 Merge pull request #3230 from hathach/copilot/fix-3218
Fix obsolete cnt assignment in _tu_fifo_peek() overflow check
2025-09-04 13:11:54 +07:00
2c0e360c73 Merge pull request #3221 from ohmdelta/master
Add Consumer Usage Page Codes
2025-09-04 11:55:58 +07:00
a96ee81a7d remove duplicated enum 2025-09-04 10:36:15 +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
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
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
edf188280a Merge pull request #3217 from tannewt/esp32c5_c61 2025-08-27 13:05:41 +07:00
12ee78df30 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>
2025-08-24 17:19:51 +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