Commit Graph

9906 Commits

Author SHA1 Message Date
d457ea3d3c fix build with dwc2 2026-01-03 17:52:58 +07:00
93a1e8093a rusb2 move tu_hwfifo_write() to rusb2_common.c 2026-01-03 16:37:17 +07:00
ea23966aa7 add default access mode for tu_hwfifo API make it easier for non-custom read/write 2026-01-03 15:37:22 +07:00
e158a3dd38 hwfifo support custom write/read
rusb use custom write
enable all hil test for ra4m1
2026-01-03 15:06:54 +07:00
c87f0db459 add tu_hwfifo_access_t param to hwfifo API 2026-01-03 00:47:40 +07:00
b87c2fcc9f refactor hwfifo pull/push 2026-01-02 23:57:48 +07:00
36e8f9d7a1 support multiple data stride if configured 2026-01-02 17:16:02 +07:00
0b638c5d74 rusb2 use tu_hwfifo API to write usb packet 2026-01-01 22:42:46 +07:00
9ab605ef0b change signature of tu_hwfifo_* to have hwfifo as first parameter 2026-01-01 12:51:05 +07:00
009750c747 minor refactor 2026-01-01 11:59:29 +07:00
111247337c replace PMA buffer packet read/write by using tu_hwfifo API 2025-12-31 22:18:05 +07:00
9b5c7761cc add separate tu_hwifo_*() with data from buffer/software fifo. Remove duplicated packet write/read for fsdev 2025-12-31 17:48:09 +07:00
f20ad05d71 update tu_fifo to work with fsdev hwfifo with increased address 16/32bit 2025-12-31 16:26:24 +07:00
d61ed92220 re-branding fixed address fifo read/write to stride mode 2025-12-31 01:11:40 +07:00
4e43988980 tusb_fifo remove item_size make it fifo of bytes 2025-12-30 18:12:32 +07:00
0a9e05f47a make fifo access mode fixed addr work with 16 bit also 2025-12-16 00:19:13 +07:00
77fcf62f9f Merge pull request #3371 from hathach/enum_catch
Hub enumeration reliability improvements
2025-12-15 17:55:18 +07:00
ebf7ce76cc minor update 2025-12-15 17:15:39 +07:00
0355fa8819 Merge branch 'master' into enum_catch 2025-12-15 16:05:24 +07:00
9a22543bd2 Merge pull request #3364 from hathach/hcd_fsdev
hcd: add stm32_fsdev driver
2025-12-15 16:01:15 +07:00
fa36515e6f Merge branch 'refs/heads/master' into enum_catch 2025-12-15 15:31:55 +07:00
1583864e0b minor clean up 2025-12-15 13:28:24 +07:00
ad5fe66f19 Merge pull request #3411
tusb: fix stream write logic without fifo
2025-12-14 23:03:35 +07:00
8c5adcefbf tusb: fix stream write logic without fifo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-13 14:18:07 +01:00
54857210e6 Merge pull request #3358 from hathach/dwc2_cfg
Add dcd_configure for dwc2 FIFO config
2025-12-13 18:48:07 +07:00
20b03bbc08 upload metrics.json and metrics compare to release page (#3409)
* upload metrics.json and metrics compare to release page
* Adjust workflow comment handling for forks
2025-12-13 15:13:02 +07:00
80886fb32a Merge branch 'refs/heads/master' into hcd_fsdev 2025-12-13 14:56:15 +07:00
3a4d02ba9f Merge pull request #3407 from hathach/rusb2_fifo_fix
dcd/rusb2: fix fifo write
2025-12-13 09:03:34 +07:00
09f71727d5 Merge pull request #3383 from hathach/audio_open
audio: fix audiod_open with midi interfaces
2025-12-13 07:26:50 +07:00
bb1495966d Merge branch 'refs/heads/master' into audio_open 2025-12-12 21:38:48 +07:00
02da4e81c7 Merge pull request #3408 from hathach/cdch_typo
usbh/cdc: fix typo in cdch_open
2025-12-12 19:25:16 +07:00
ebfe1c5637 usbh/cdc: fix typo in cdch_open
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-12 11:04:54 +01:00
185839e5c5 Merge pull request #3402 from hathach/more-size-reduce-edpt-stream
refactor, clean up to reduce size
2025-12-12 14:46:48 +07:00
e65e79bb81 add back tu_fifo_discard_n() since it may be useful in the future. 2025-12-12 12:43:12 +07:00
fa74d1a6e1 dcd/rusb2: fix fifo write
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-11 23:18:34 +01:00
d71e3c9ea6 post pr comment anyway 2025-12-12 00:58:17 +07:00
2f5d4dbab3 fix edpt stream write/read to endpoint not yet opened 2025-12-12 00:51:57 +07:00
711879b2f1 remove bitfield in usbd_device_t state to reduce code size 2025-12-12 00:27:20 +07:00
c7f7dc6ee1 separate metric comment into its own workflow in order to work with forked PR 2025-12-11 19:01:33 +07:00
b73003745f move host hacked bulk mps out of tu_edpt_validate() 2025-12-11 16:41:33 +07:00
ef018e364e refactor usbh_class_driver_t's open() to return number of driver len instead of bool. help to simplify parsing configuration 2025-12-11 15:58:10 +07:00
6482079151 Merge pull request #3405 from LeZerb/TUSB_ROLE_HOST
Use role TUSB_ROLE_HOST in host stack initialization
2025-12-11 09:29:01 +01:00
308bb956bf Use role TUSB_ROLE_HOST in host stack initialization 2025-12-11 09:05:06 +01:00
702be8da51 refactor binding ep and interface to driver 2025-12-11 11:49:01 +07:00
39853dfb25 move hwid into edpt stream for consistent API 2025-12-10 20:47:08 +07:00
b05ec753f8 Merge pull request #3401 from hathach/copilot/fix-mtp-device-bug
Fix MTP transfer completion detection for exact-length packets
2025-12-10 19:26:57 +07:00
5fe3992bd8 minor format 2025-12-10 18:56:26 +07:00
0a1bf62a2d Merge branch 'master' into more-size-reduce-edpt-stream 2025-12-10 18:51:44 +07:00
098dd07ecd Merge pull request #3396 from hathach/hwfifo_post
HWFIFO post fixup
2025-12-10 18:51:02 +07:00
8d0fda879b only validate endpoint tu_edpt_validate() when debug enabled 2025-12-10 18:49:39 +07:00