summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/modselect.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-09-20 19:15:05 +1000
committerDamien George <damien@micropython.org>2023-12-20 19:40:03 +1100
commite9bcd49b3ef7bcf69026c747411408061b3a46be (patch)
tree7bbbc8a22b39493ce60e223d3289fe10bb69685f /extmod/modselect.c
parent49d0c22b11732da3be622d7c550ecb4249bf17ac (diff)
downloadmicropython-e9bcd49b3ef7bcf69026c747411408061b3a46be.tar.gz
micropython-e9bcd49b3ef7bcf69026c747411408061b3a46be.zip
stm32/mboot: Add support for Microsoft WCID.
This adds support to stm32's mboot for the Microsoft WCID USB 0xee string and Compatible ID Feature Descriptor. This allows the USB device to automatically set the default USB driver, so that when the device is plugged in Windows will assign the winusb driver to it. This means that USB DFU mode can be used without installing any drivers. For example this page will work (allow the board to be updated over DFU) with zero install: https://devanlai.github.io/webdfu/dfu-util/ Tested on Windows 10, Windows can read the 0xee string correctly, and requests the second special descriptor, which then configures the USB device to use the winusb driver. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/modselect.c')
0 files changed, 0 insertions, 0 deletions