Commit Graph

9949 Commits

Author SHA1 Message Date
0d1521e42e update README.rst to add HPMicro MCU
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:23:19 +08:00
d851e82721 example: with FreeRTOS: skip hpmicro
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:11:28 +08:00
d8da458a0b example: host: support hpmicro family
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:11:21 +08:00
6b73d786b3 update risc-v march for gcc and clang toolchains
- add `zifencei` option

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:08:30 +08:00
ba3319d90d support hpmicro chips
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:08:30 +08: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
dd78e2eeb5 Update README 2025-12-14 01:42:43 +01:00
b43b99a571 bsp: nxp: add support for RW612 (FRDM-RW612)
- Added `rw61x` family support.
- Added `frdm_rw612` board support.
- Update `get_deps.py` to include mcux-sdk for RW61x.
- Add ci_hs_rw61x include to ChipIdea HS driver and enable host examples.
2025-12-14 01:30:12 +01: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
a412a8e50d hw/mcu: add support for NXP RW612 2025-12-10 23:04:39 +01: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
aba91bea35 disable HWFIFO musb and rusb2, since they are not tested yet 2025-12-10 18:29:33 +07:00
63dea396de revert the usbd_edpt_xfer_fifo guard 2025-12-10 17:01:33 +07:00
69bb4e669b Merge branch 'master' into hwfifo_post 2025-12-10 16:02:25 +07:00
a165cf26b2 remove tu_fifo_discard_n() and its usage 2025-12-10 15:25:30 +07:00
fcc300770d flatten cdc tx,rx stream 2025-12-10 14:57:11 +07:00
f1fc4c9c79 change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void 2025-12-10 14:45:06 +07:00
7e70f0b07c Fix MTP transfer completion detection for exact-length packets
Change condition from `>` to `>=` to properly detect completion when
xferred_len equals total_len. This fixes the bug where transfers of
exactly bulk_mps length (e.g., 64 bytes for low speed) would never
complete, such as GetHandles responses with 12 elements.

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
2025-12-10 06:34:21 +00:00