diff options
| author | alexmoon <[email protected]> | 2023-02-02 16:13:16 -0500 |
|---|---|---|
| committer | alexmoon <[email protected]> | 2023-02-07 14:24:35 -0500 |
| commit | 9f9230ae7abb545822e59c6f06cabb721b63e0a1 (patch) | |
| tree | 0505e1793cef698a671a5b12f7567066a901eb7b /embassy-usb/Cargo.toml | |
| parent | b9ecdb72bb55792a8fa5a0bace8cdad498fee9b0 (diff) | |
Convert MS OS descriptor builder to a writer API
This brings it inline with the other embassy-usb descriptor APIs and allows it to integrate well with the Builder to allow class constructors to add MS OS descriptors.
Also adds a `usb_serial_winusb` example to demonstrate how to use the API.
Diffstat (limited to 'embassy-usb/Cargo.toml')
| -rw-r--r-- | embassy-usb/Cargo.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-usb/Cargo.toml b/embassy-usb/Cargo.toml index 31d1f4cae..54a8f27c7 100644 --- a/embassy-usb/Cargo.toml +++ b/embassy-usb/Cargo.toml | |||
| @@ -13,6 +13,7 @@ target = "thumbv7em-none-eabi" | |||
| 13 | [features] | 13 | [features] |
| 14 | defmt = ["dep:defmt", "embassy-usb-driver/defmt"] | 14 | defmt = ["dep:defmt", "embassy-usb-driver/defmt"] |
| 15 | usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"] | 15 | usbd-hid = ["dep:usbd-hid", "dep:ssmarshal"] |
| 16 | msos-descriptor = ["dep:widestring"] | ||
| 16 | default = ["usbd-hid"] | 17 | default = ["usbd-hid"] |
| 17 | 18 | ||
| 18 | [dependencies] | 19 | [dependencies] |
| @@ -24,7 +25,7 @@ embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver- | |||
| 24 | defmt = { version = "0.3", optional = true } | 25 | defmt = { version = "0.3", optional = true } |
| 25 | log = { version = "0.4.14", optional = true } | 26 | log = { version = "0.4.14", optional = true } |
| 26 | heapless = "0.7.10" | 27 | heapless = "0.7.10" |
| 27 | widestring = { version = "1.0.2", default-features = false } | 28 | widestring = { version = "1.0.2", default-features = false, optional = true } |
| 28 | 29 | ||
| 29 | # for HID | 30 | # for HID |
| 30 | usbd-hid = { version = "0.6.0", optional = true } | 31 | usbd-hid = { version = "0.6.0", optional = true } |
