d77f1e8eb6
Prevent unused-variable warning in dcd_host.c
...
'idx' is not used if CFG_TUH_CDC_LINE_CODING_ON_ENUM is not defined.
2025-12-26 17:27:05 +01:00
b3dd0a113a
Do not randomly include stm32h7xx.h
...
Enable D-Cache unless we're compiling for the M4 core of a dual-core H7 mcu by directly testing CORE_CM4
2025-12-26 17:25:25 +01:00
b53739dee4
Change return of tud_vendor_n_write_clear from uint32_t to bool
2025-12-21 09:06:05 -07:00
b7463bad87
Removed tu_fifo_count_and_clear
2025-12-21 06:41:57 -07:00
185757ed41
Added tud_vendor_write_clear() which forcefully clears TX buffer
2025-12-20 13:36:54 -07:00
49a8529dcf
clean up cmake, remove family_get_project_name()
2025-12-19 12:33:42 +07:00
7f4a761513
remove the usage snprintf
2025-12-19 11:08:49 +07:00
abf27bfa37
Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-12-16 20:47:37 +01:00
c130fc07c6
fix pre-commit
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-16 12:29:04 +01:00
22534a6019
Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-16 11:51:42 +01:00
ba3319d90d
support hpmicro chips
...
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2025-12-16 13:08:30 +08: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
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
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
bb1495966d
Merge branch 'refs/heads/master' into audio_open
2025-12-12 21:38:48 +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
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
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
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
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
0e48fe8622
Merge pull request #3399 from hathach/size-reduce
...
edpt stream only support no fifo mode if needed
2025-12-10 12:01:44 +07:00
919ee4b152
update metrics to support bloaty csv
2025-12-10 11:33:31 +07:00
16c92b50b0
update metrics to support bloaty
2025-12-09 19:00:14 +07:00
ae53e2f9ae
remove FS MPS assumption
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 15:43:32 +01:00
e169ab47bb
audio_device: use CFG_TUD_EDPT_DEDICATED_HWFIFO flag for FIFO transfer
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 12:11:00 +01:00
4e365fcef3
usbd: remove dcd_edpt_xfer_fifo ifdef guard
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 12:11:00 +01:00