911956f453
remove TUSB_MCU_VENDOR_ESPRESSIF, use ESP_PLATFORM for Espressif
2026-03-13 12:39:24 +07:00
5bca175ea1
Merge branch 'master' into ncm_restart
2026-03-13 00:57:30 +07:00
e2884a1b88
Merge branch 'master' into ncm_restart
2026-03-12 10:55:18 +01:00
c06dc871d6
reset notification state to speed change
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2026-03-12 10:52:51 +01:00
0e23ccd7df
refactor(cdc): remove deprecated runtime CDC configuration, add backward compatibility with no-op macros
2026-03-12 16:52:27 +07:00
cd60008e89
clean up
2026-03-12 15:56:48 +07:00
222af862aa
refactor(cdc): remove runtime CDC driver configuration in favor of compile-time macros for simplicity and reduced complexity
2026-03-12 15:22:52 +07:00
9e5345e702
correct default value for CFG_TUD_VENDOR_TX/RX_BUFSIZE
2026-03-12 14:32:37 +07:00
aea4f6046e
refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP
2026-03-12 12:25:59 +07:00
78bbc7dc2e
refactor(config): separate endpoint buffer sizes into RX and TX definitions for clarity and flexibility
2026-03-12 11:43:32 +07:00
d74559ab70
rename .rx_multiple_packet_transfer to .rx_need_zlp
2026-03-11 20:11:41 +07:00
d13f600721
Merge branch 'master' into zlp-hs-on-fs
2026-03-11 16:20:14 +07:00
2e29388051
refactor(usbd): replace _usbd_ctrl_epbuf with usbd_get_ctrl_buf() for cleaner abstraction and consistency across modules
2026-03-11 15:14:09 +07:00
14b594d0f7
Merge branch 'master' into ep0_direct
2026-03-11 14:41:48 +07:00
336e89792f
Merge branch 'master' into ep0_direct
...
# Conflicts:
# hw/bsp/same7x/boards/same70_qmtech/board.cmake
# hw/bsp/same7x/boards/same70_xplained/board.cmake
# hw/bsp/same7x/family.cmake
2026-03-11 13:34:59 +07:00
2e78533982
Merge pull request #3545 from hathach/remove-div-tusb-fifo
...
remove expensive div in HWFIFO_ADDR_NEXT_N()
2026-03-11 10:47:15 +07:00
7249c65b2a
Merge pull request #3530 from hathach/hcd_ip3516
...
Add IP3516 HCD support
2026-03-10 21:44:40 +07:00
9cf633f4e9
remove expensive div in HWFIFO_ADDR_NEXT_N()
2026-03-10 21:25:32 +07:00
3eb2b1fe52
fix typo
2026-03-10 17:17:59 +07:00
7ca457cc3d
Merge branch 'master' of https://github.com/YixingShen/tinyusb
2026-03-09 22:20:11 +08:00
ce305af653
revert _end_of_control_descriptor to Revision: 0a45308a29
2026-03-09 22:13:59 +08:00
3ca7ad1573
fix(usbh): correct memcpy usage to ensure proper alignment with offsetof in device descriptor handling
2026-03-09 14:43:17 +07:00
4c7bfc4dbe
refactor: add desc_device_noheader_t to simplify get device descriptor local
2026-03-09 14:28:59 +07:00
0d4feff0eb
usbh device descriptor validation, also check ep size > 0
2026-03-09 14:15:20 +07:00
7fac2cda29
Merge pull request #3536
...
Fix ep_ctrl_mask() corrupting opposite direction's ENDPTCTRL bits
2026-03-09 11:59:20 +07:00
205d9b044f
Merge pull request #3538 from sidcha/fix-hwfifo-PMA-pointer
...
Fix hwfifo PMA pointer advance on ring buffer wrap
2026-03-09 11:23:23 +07:00
3e22de0a47
extend video control parsing to include class-specific VC endpoint descriptor
2026-03-09 10:49:37 +07:00
2a4b82e3e1
tinyusb: fix hwfifo PMA pointer advance on ring buffer wrap
...
In hwff_push_n() and hwff_pull_n(), the HWFIFO_ADDR_NEXT_N call after
processing the linear part of a wrap-around read/write used the data
byte count (lin_even) as the address stride increment. On STM32 FSDEV
PMA, data_stride=2 and addr_stride=4, so the pointer must advance by
(lin_even / data_stride) * addr_stride bytes, not lin_even bytes.
Fixes: 74e59e433 ("fix hwfifo pull/push n with address stride > 0")
Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com >
2026-03-08 08:19:48 +01:00
11a3c3b712
Fix ep_ctrl_mask() corrupting opposite direction's ENDPTCTRL bits
2026-03-07 21:53:01 +01:00
9072d974b0
Merge branch 'master' of https://github.com/YixingShen/tinyusb
2026-03-07 22:58:07 +08:00
2a0802c6a5
fixed _end_of_control_descriptor logic. wTotalLength does not include Standard Endpoint Descriptor and Class-specific VC Interrupt Endpoint Descriptor,
...
so fix that _end_of_control_descriptor include Standard Endpoint Descriptor and Class-specific VC Interrupt Endpoint Descriptor. It will also fix _close_vc_itf, _open_vc_itf. _find_desc_entity parsing.
2026-03-07 22:56:28 +08:00
571445d26f
Merge branch 'hathach:master' into master
2026-03-07 22:54:15 +08:00
da307fa85b
Merge pull request #3529 from hathach/mtt_hub
...
Add MTT hub support
2026-03-07 15:49:22 +07:00
d65964ea32
Merge pull request #3519 from hathach/samx7x_update
...
refresh dcd_samx7x
2026-03-07 15:29:23 +07:00
f17da1c66e
open hub mtt interface in 1 call
2026-03-07 15:25:05 +07:00
1c53009dc7
remove dma_desc_t
2026-03-07 13:07:13 +07:00
0a45308a29
Update src/class/video/video_device.c
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-07 10:46:38 +08:00
e4a55152be
cleanup
2026-03-07 02:05:12 +08:00
fe26e45e64
fixed _open_vc_itf parsing
...
Standard Interface Descriptor (Video Control)
Video Control Header Descriptor
Video Control Camera Terminal Descriptor
Video Control Output Terminal Descriptor
Standard Endpoint Descriptor
Class-Specific VC Interrupt Endpoint Descriptor
Video Control Header Descriptor's wTotalLength
= Header Descriptor + Camera Terminal Descriptor + Output Terminal Descriptor
_end_of_control_descriptor is Output Terminal Descriptor End
the "end" should +7 for _find_desc searchig Standard Endpoint Descriptor
2026-03-07 02:03:50 +08:00
e658e23435
fix CI
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-03-06 17:19:05 +01:00
5817f0d2eb
fix ci
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-03-06 15:44:26 +01:00
860f0e01f2
Merge remote-tracking branch 'tinyusb/master' into hcd_ip3516
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-03-06 15:23:32 +01:00
40ae5bddbe
usbh: support MTT hub
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-03-06 15:12:19 +01:00
6a190546e6
Apply suggestions from code review
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-06 12:47:21 +01:00
c186063a63
Merge remote-tracking branch 'tinyusb/master' into samx7x_update
2026-03-06 11:59:25 +01:00
ee6f4f6f2a
cleanup
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-03-06 11:59:20 +01:00
73cd531295
replace printer_to_hid example with printer_to_cdc example
...
fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low)
2026-03-06 17:22:38 +07:00
988b18a40a
add full read/write() API, use edpt stream for printer class
2026-03-06 16:06:42 +07:00
5838c7f09d
update printer class: enhance descriptors, buffer sizes, and callbacks
2026-03-06 15:11:59 +07:00
558abb93af
Merge branch 'refs/heads/master' into fork/remiberthoz/device-class-printer
2026-03-06 12:05:54 +07:00