-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Operating System
Windows 11
Commit SHA
the latest HEAD
Board
any board can reproduce this issue per my test, I tried stm32f103_bluepill and stm32f072disco
Firmware
examples/device/webusb_serial with attached patch to remove the cdc so that only CFG_TUD_VENDOR is enabled.
What happened ?
Windows can't initialize the usb device properly, and UsbTreeView show "28" for the device. so winusb driver isn't installed for the usb device.
BTW: if we enable CDC or HID or MSC or something else with CFG_TUD_VENDOR at the same time, everything works. The issue is only seen when only CFG_TUD_VENDOR=1, others are disabled
How to reproduce ?
apply the tinyusb.patch
build the examples/device/webusb_serial
burn the fw to board and reset the board after done
connect the board to windows usb port with cable
check the usb device's Windows status via. the UsbTreeView, e.g whether it's properly initialized and whether its driver is winusb or not
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
I didn't enable DEBUG LOG, but will do if it's needed.
Screenshots
No response
I have checked existing issues, discussion and documentation
- I confirm I have checked existing issues, discussion and documentation.