32dafcccc7
hcd/ohci: fix warnings
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-12-13 21:08:42 +01:00
132bcd0b5e
hcd: add NXP IP3516
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-12-13 21:08:42 +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
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
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
c68cd68664
tusb: add HWFIFO flag for supported MCUs
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 12:11:00 +01:00
e9cd4d823f
Merge pull request #3340 from dinsfire64/hid-enum-fix
...
remove hid host enumeration assumption
2025-12-08 10:40:07 +07:00
2c78a2dd9c
edpt stream only support non-fifo mode if needed CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED
2025-12-06 02:29:05 +07:00
9f291dac26
Merge branch 'refs/heads/master' into dwc2_cfg
2025-12-04 09:27:29 +07:00
686e975e47
audio: fix audiod_open with midi interfaces
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-02 17:42:06 +01:00
06f1597c0e
limit to bulk ep
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-02 11:51:08 +01:00
4bfd22eb23
Merge remote-tracking branch 'tinyusb/master' into dwc2_cfg
2025-12-02 11:34:43 +01:00
df6f136003
add linkermap to deps and linkermap taget
2025-12-01 14:46:47 +07:00
7d012b014e
fix build with zephyr with latest nrfx v4
2025-11-28 13:34:00 +07:00
6e9e9ce9d1
add CFG_TUD_VENDOR_RX_MANUAL_XFER per suggestion
2025-11-27 23:24:00 +07:00
1465a9b5bc
make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0
...
vendor_write_flush() and write_available() only available when CFG_TUD_VENDOR_TX_BUFSIZE > 0
2025-11-27 19:14:23 +07:00
9a9bf0fd7b
change tud_vendor_rx_cb() behavior, buffer and bufsize only available when CFG_TUD_VENDOR_RX_BUFSIZE = 0
...
update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27 18:41:57 +07:00
f3dc2186ae
add tud_vendor_n_read_discard(), refactor vendor device. Update webusb example for more robust
2025-11-27 16:25:19 +07:00
4ef0f61bde
add tu_fifo_discard_n() and tu_edpt_stream_discard()
2025-11-27 16:23:00 +07:00
07dfbadc00
correct tu_edpt_stream_read() with non-fifo mode. Fix rhport with vendor device
2025-11-27 10:30:35 +07:00
4affbc1f7b
more rename
2025-11-27 09:40:50 +07:00
726497af68
omit cdc epnotify for dedicated hw fifo
2025-11-27 00:16:39 +07:00
d6c50c7ce2
add tud_cdc_n_notify_msg()
2025-11-27 00:03:59 +07:00