aboutsummaryrefslogtreecommitdiff
path: root/examples/std/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-02-07 19:31:10 +0000
committerGitHub <[email protected]>2023-02-07 19:31:10 +0000
commit366fab5b872e5d00fd84408f04cf00faf988d160 (patch)
tree9b45fb26d9a32b806931fcc6d379af00f4ffec21 /examples/std/src
parenta7fa7d0de2fa7b8fab889879b6003df8427c6841 (diff)
parentaa21aebb0b321a2085571e5be5fffcea4703584d (diff)
Merge #1189
1189: USB: Add MS OS Descriptors (alternate implementation) r=Dirbaio a=alexmoon This is an alternate API for #1152 based on the work of `@mattico.` By switching to a writer-style API instead of a builder API some compile-time guarantees are lost, but it integrates better into the usb `Builder` and makes an api that can be used by USB device class implementations. It also adds a feature flag so there is zero cost to the MS OS descriptors for devices that don't need to use them. I've added an example based on `usb_serial` which tells Windows to use the generic `WinUSB` driver instead of the serial port driver for the device. Comments are welcome. It would be nice to see either this or #1152 merged as my project is going to require the MS OS Descriptors soon. Co-authored-by: Matt Ickstadt <[email protected]> Co-authored-by: alexmoon <[email protected]>
Diffstat (limited to 'examples/std/src')
0 files changed, 0 insertions, 0 deletions