diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-08 23:08:50 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-11-08 23:21:52 +0100 |
| commit | 0b015bd727547d1eade5cd12c8b6a1b77483e6db (patch) | |
| tree | 77f8a52f5a7eb5a8cc5981eae16e9871614015c7 /examples | |
| parent | 79acb560ecb9089e31efdea29c6046225971fee3 (diff) | |
usb: remove msos-descriptor feature.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/nrf52840/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/rp/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/rp/src/bin/pio_uart.rs | 2 | ||||
| -rw-r--r-- | examples/rp/src/bin/usb_ethernet.rs | 2 | ||||
| -rw-r--r-- | examples/rp/src/bin/usb_midi.rs | 2 | ||||
| -rw-r--r-- | examples/rp/src/bin/usb_serial.rs | 2 | ||||
| -rw-r--r-- | examples/stm32f1/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32f3/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32f4/Cargo.toml | 2 | ||||
| -rw-r--r-- | examples/stm32f4/src/bin/usb_ethernet.rs | 2 | ||||
| -rw-r--r-- | examples/stm32f4/src/bin/usb_serial.rs | 2 | ||||
| -rw-r--r-- | examples/stm32f7/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32g4/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32h5/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32h7/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32l4/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32l5/src/bin/usb_ethernet.rs | 1 | ||||
| -rw-r--r-- | examples/stm32l5/src/bin/usb_hid_mouse.rs | 1 | ||||
| -rw-r--r-- | examples/stm32l5/src/bin/usb_serial.rs | 1 | ||||
| -rw-r--r-- | examples/stm32u5/src/bin/usb_serial.rs | 1 |
20 files changed, 21 insertions, 10 deletions
diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml index f803adb03..7bf904ee0 100644 --- a/examples/nrf52840/Cargo.toml +++ b/examples/nrf52840/Cargo.toml | |||
| @@ -34,7 +34,7 @@ embassy-executor = { version = "0.3.1", path = "../../embassy-executor", feature | |||
| 34 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } | 34 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime"] } |
| 35 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } | 35 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote", "unstable-pac", "time"] } |
| 36 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"], optional = true } | 36 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet"], optional = true } |
| 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor",], optional = true } | 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"], optional = true } |
| 38 | embedded-io = { version = "0.6.0", features = ["defmt-03"] } | 38 | embedded-io = { version = "0.6.0", features = ["defmt-03"] } |
| 39 | embedded-io-async = { version = "0.6.0", optional = true, features = ["defmt-03"] } | 39 | embedded-io-async = { version = "0.6.0", optional = true, features = ["defmt-03"] } |
| 40 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true } | 40 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true } |
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index 5ff505e86..fbe7acae1 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml | |||
| @@ -11,11 +11,11 @@ embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["de | |||
| 11 | embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime"] } | 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime"] } |
| 13 | embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "critical-section-impl"] } | 13 | embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "critical-section-impl"] } |
| 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor"] } | 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } |
| 15 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] } | 15 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] } |
| 16 | embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] } | 16 | embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] } |
| 17 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | 17 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } |
| 18 | embassy-usb-logger = { version = "0.1.0", path = "../../embassy-usb-logger", features = ["msos-descriptor"]} | 18 | embassy-usb-logger = { version = "0.1.0", path = "../../embassy-usb-logger" } |
| 19 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"] } | 19 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"] } |
| 20 | lora-phy = { version = "2" } | 20 | lora-phy = { version = "2" } |
| 21 | lorawan-device = { version = "0.11.0", default-features = false, features = ["async", "external-lora-phy"] } | 21 | lorawan-device = { version = "0.11.0", default-features = false, features = ["async", "external-lora-phy"] } |
diff --git a/examples/rp/src/bin/pio_uart.rs b/examples/rp/src/bin/pio_uart.rs index dca28d779..fb9d423ec 100644 --- a/examples/rp/src/bin/pio_uart.rs +++ b/examples/rp/src/bin/pio_uart.rs | |||
| @@ -75,7 +75,7 @@ async fn main(_spawner: Spawner) { | |||
| 75 | &mut device_descriptor, | 75 | &mut device_descriptor, |
| 76 | &mut config_descriptor, | 76 | &mut config_descriptor, |
| 77 | &mut bos_descriptor, | 77 | &mut bos_descriptor, |
| 78 | &mut [], | 78 | &mut [], // no msos descriptors |
| 79 | &mut control_buf, | 79 | &mut control_buf, |
| 80 | ); | 80 | ); |
| 81 | 81 | ||
diff --git a/examples/rp/src/bin/usb_ethernet.rs b/examples/rp/src/bin/usb_ethernet.rs index aea9e6481..cc63029fb 100644 --- a/examples/rp/src/bin/usb_ethernet.rs +++ b/examples/rp/src/bin/usb_ethernet.rs | |||
| @@ -71,7 +71,7 @@ async fn main(spawner: Spawner) { | |||
| 71 | &mut make_static!([0; 256])[..], | 71 | &mut make_static!([0; 256])[..], |
| 72 | &mut make_static!([0; 256])[..], | 72 | &mut make_static!([0; 256])[..], |
| 73 | &mut make_static!([0; 256])[..], | 73 | &mut make_static!([0; 256])[..], |
| 74 | &mut make_static!([0; 0])[..], | 74 | &mut [], // no msos descriptors |
| 75 | &mut make_static!([0; 128])[..], | 75 | &mut make_static!([0; 128])[..], |
| 76 | ); | 76 | ); |
| 77 | 77 | ||
diff --git a/examples/rp/src/bin/usb_midi.rs b/examples/rp/src/bin/usb_midi.rs index 3ba34c806..d5cdae319 100644 --- a/examples/rp/src/bin/usb_midi.rs +++ b/examples/rp/src/bin/usb_midi.rs | |||
| @@ -58,7 +58,7 @@ async fn main(_spawner: Spawner) { | |||
| 58 | &mut device_descriptor, | 58 | &mut device_descriptor, |
| 59 | &mut config_descriptor, | 59 | &mut config_descriptor, |
| 60 | &mut bos_descriptor, | 60 | &mut bos_descriptor, |
| 61 | &mut [], | 61 | &mut [], // no msos descriptors |
| 62 | &mut control_buf, | 62 | &mut control_buf, |
| 63 | ); | 63 | ); |
| 64 | 64 | ||
diff --git a/examples/rp/src/bin/usb_serial.rs b/examples/rp/src/bin/usb_serial.rs index 0d0317cda..30347d920 100644 --- a/examples/rp/src/bin/usb_serial.rs +++ b/examples/rp/src/bin/usb_serial.rs | |||
| @@ -60,7 +60,7 @@ async fn main(_spawner: Spawner) { | |||
| 60 | &mut device_descriptor, | 60 | &mut device_descriptor, |
| 61 | &mut config_descriptor, | 61 | &mut config_descriptor, |
| 62 | &mut bos_descriptor, | 62 | &mut bos_descriptor, |
| 63 | &mut [], | 63 | &mut [], // no msos descriptors |
| 64 | &mut control_buf, | 64 | &mut control_buf, |
| 65 | ); | 65 | ); |
| 66 | 66 | ||
diff --git a/examples/stm32f1/src/bin/usb_serial.rs b/examples/stm32f1/src/bin/usb_serial.rs index 60eb5d0e4..31519555f 100644 --- a/examples/stm32f1/src/bin/usb_serial.rs +++ b/examples/stm32f1/src/bin/usb_serial.rs | |||
| @@ -60,6 +60,7 @@ async fn main(_spawner: Spawner) { | |||
| 60 | &mut device_descriptor, | 60 | &mut device_descriptor, |
| 61 | &mut config_descriptor, | 61 | &mut config_descriptor, |
| 62 | &mut bos_descriptor, | 62 | &mut bos_descriptor, |
| 63 | &mut [], // no msos descriptors | ||
| 63 | &mut control_buf, | 64 | &mut control_buf, |
| 64 | ); | 65 | ); |
| 65 | 66 | ||
diff --git a/examples/stm32f3/src/bin/usb_serial.rs b/examples/stm32f3/src/bin/usb_serial.rs index a9537c77b..d5d068d62 100644 --- a/examples/stm32f3/src/bin/usb_serial.rs +++ b/examples/stm32f3/src/bin/usb_serial.rs | |||
| @@ -57,6 +57,7 @@ async fn main(_spawner: Spawner) { | |||
| 57 | &mut device_descriptor, | 57 | &mut device_descriptor, |
| 58 | &mut config_descriptor, | 58 | &mut config_descriptor, |
| 59 | &mut bos_descriptor, | 59 | &mut bos_descriptor, |
| 60 | &mut [], // no msos descriptors | ||
| 60 | &mut control_buf, | 61 | &mut control_buf, |
| 61 | ); | 62 | ); |
| 62 | 63 | ||
diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index bcf373712..f81821904 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml | |||
| @@ -10,7 +10,7 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [" | |||
| 10 | embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } | 10 | embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } |
| 11 | embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } | 11 | embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } | 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } |
| 13 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor"] } | 13 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt" ] } |
| 14 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "nightly"] } | 14 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "nightly"] } |
| 15 | 15 | ||
| 16 | defmt = "0.3" | 16 | defmt = "0.3" |
diff --git a/examples/stm32f4/src/bin/usb_ethernet.rs b/examples/stm32f4/src/bin/usb_ethernet.rs index 45dcf56af..34407b95a 100644 --- a/examples/stm32f4/src/bin/usb_ethernet.rs +++ b/examples/stm32f4/src/bin/usb_ethernet.rs | |||
| @@ -94,7 +94,7 @@ async fn main(spawner: Spawner) { | |||
| 94 | &mut make_static!([0; 256])[..], | 94 | &mut make_static!([0; 256])[..], |
| 95 | &mut make_static!([0; 256])[..], | 95 | &mut make_static!([0; 256])[..], |
| 96 | &mut make_static!([0; 256])[..], | 96 | &mut make_static!([0; 256])[..], |
| 97 | &mut [], | 97 | &mut [], // no msos descriptors |
| 98 | &mut make_static!([0; 128])[..], | 98 | &mut make_static!([0; 128])[..], |
| 99 | ); | 99 | ); |
| 100 | 100 | ||
diff --git a/examples/stm32f4/src/bin/usb_serial.rs b/examples/stm32f4/src/bin/usb_serial.rs index 3ab9a6c56..3e05b0ef2 100644 --- a/examples/stm32f4/src/bin/usb_serial.rs +++ b/examples/stm32f4/src/bin/usb_serial.rs | |||
| @@ -77,7 +77,7 @@ async fn main(_spawner: Spawner) { | |||
| 77 | &mut device_descriptor, | 77 | &mut device_descriptor, |
| 78 | &mut config_descriptor, | 78 | &mut config_descriptor, |
| 79 | &mut bos_descriptor, | 79 | &mut bos_descriptor, |
| 80 | &mut [], | 80 | &mut [], // no msos descriptors |
| 81 | &mut control_buf, | 81 | &mut control_buf, |
| 82 | ); | 82 | ); |
| 83 | 83 | ||
diff --git a/examples/stm32f7/src/bin/usb_serial.rs b/examples/stm32f7/src/bin/usb_serial.rs index 2f832c234..6aca732b4 100644 --- a/examples/stm32f7/src/bin/usb_serial.rs +++ b/examples/stm32f7/src/bin/usb_serial.rs | |||
| @@ -77,6 +77,7 @@ async fn main(_spawner: Spawner) { | |||
| 77 | &mut device_descriptor, | 77 | &mut device_descriptor, |
| 78 | &mut config_descriptor, | 78 | &mut config_descriptor, |
| 79 | &mut bos_descriptor, | 79 | &mut bos_descriptor, |
| 80 | &mut [], // no msos descriptors | ||
| 80 | &mut control_buf, | 81 | &mut control_buf, |
| 81 | ); | 82 | ); |
| 82 | 83 | ||
diff --git a/examples/stm32g4/src/bin/usb_serial.rs b/examples/stm32g4/src/bin/usb_serial.rs index 188988b14..378e7b988 100644 --- a/examples/stm32g4/src/bin/usb_serial.rs +++ b/examples/stm32g4/src/bin/usb_serial.rs | |||
| @@ -75,6 +75,7 @@ async fn main(_spawner: Spawner) { | |||
| 75 | &mut device_descriptor, | 75 | &mut device_descriptor, |
| 76 | &mut config_descriptor, | 76 | &mut config_descriptor, |
| 77 | &mut bos_descriptor, | 77 | &mut bos_descriptor, |
| 78 | &mut [], // no msos descriptors | ||
| 78 | &mut control_buf, | 79 | &mut control_buf, |
| 79 | ); | 80 | ); |
| 80 | 81 | ||
diff --git a/examples/stm32h5/src/bin/usb_serial.rs b/examples/stm32h5/src/bin/usb_serial.rs index 13b218d00..7d45818af 100644 --- a/examples/stm32h5/src/bin/usb_serial.rs +++ b/examples/stm32h5/src/bin/usb_serial.rs | |||
| @@ -82,6 +82,7 @@ async fn main(_spawner: Spawner) { | |||
| 82 | &mut device_descriptor, | 82 | &mut device_descriptor, |
| 83 | &mut config_descriptor, | 83 | &mut config_descriptor, |
| 84 | &mut bos_descriptor, | 84 | &mut bos_descriptor, |
| 85 | &mut [], // no msos descriptors | ||
| 85 | &mut control_buf, | 86 | &mut control_buf, |
| 86 | ); | 87 | ); |
| 87 | 88 | ||
diff --git a/examples/stm32h7/src/bin/usb_serial.rs b/examples/stm32h7/src/bin/usb_serial.rs index 648ff6eea..f80cf63ec 100644 --- a/examples/stm32h7/src/bin/usb_serial.rs +++ b/examples/stm32h7/src/bin/usb_serial.rs | |||
| @@ -78,6 +78,7 @@ async fn main(_spawner: Spawner) { | |||
| 78 | &mut device_descriptor, | 78 | &mut device_descriptor, |
| 79 | &mut config_descriptor, | 79 | &mut config_descriptor, |
| 80 | &mut bos_descriptor, | 80 | &mut bos_descriptor, |
| 81 | &mut [], // no msos descriptors | ||
| 81 | &mut control_buf, | 82 | &mut control_buf, |
| 82 | ); | 83 | ); |
| 83 | 84 | ||
diff --git a/examples/stm32l4/src/bin/usb_serial.rs b/examples/stm32l4/src/bin/usb_serial.rs index d459245d5..d977398f5 100644 --- a/examples/stm32l4/src/bin/usb_serial.rs +++ b/examples/stm32l4/src/bin/usb_serial.rs | |||
| @@ -72,6 +72,7 @@ async fn main(_spawner: Spawner) { | |||
| 72 | &mut device_descriptor, | 72 | &mut device_descriptor, |
| 73 | &mut config_descriptor, | 73 | &mut config_descriptor, |
| 74 | &mut bos_descriptor, | 74 | &mut bos_descriptor, |
| 75 | &mut [], // no msos descriptors | ||
| 75 | &mut control_buf, | 76 | &mut control_buf, |
| 76 | ); | 77 | ); |
| 77 | 78 | ||
diff --git a/examples/stm32l5/src/bin/usb_ethernet.rs b/examples/stm32l5/src/bin/usb_ethernet.rs index f5b3ca34c..923193abf 100644 --- a/examples/stm32l5/src/bin/usb_ethernet.rs +++ b/examples/stm32l5/src/bin/usb_ethernet.rs | |||
| @@ -82,6 +82,7 @@ async fn main(spawner: Spawner) { | |||
| 82 | &mut make_static!([0; 256])[..], | 82 | &mut make_static!([0; 256])[..], |
| 83 | &mut make_static!([0; 256])[..], | 83 | &mut make_static!([0; 256])[..], |
| 84 | &mut make_static!([0; 256])[..], | 84 | &mut make_static!([0; 256])[..], |
| 85 | &mut [], // no msos descriptors | ||
| 85 | &mut make_static!([0; 128])[..], | 86 | &mut make_static!([0; 128])[..], |
| 86 | ); | 87 | ); |
| 87 | 88 | ||
diff --git a/examples/stm32l5/src/bin/usb_hid_mouse.rs b/examples/stm32l5/src/bin/usb_hid_mouse.rs index bec3d5e4e..f64d0f34e 100644 --- a/examples/stm32l5/src/bin/usb_hid_mouse.rs +++ b/examples/stm32l5/src/bin/usb_hid_mouse.rs | |||
| @@ -62,6 +62,7 @@ async fn main(_spawner: Spawner) { | |||
| 62 | &mut device_descriptor, | 62 | &mut device_descriptor, |
| 63 | &mut config_descriptor, | 63 | &mut config_descriptor, |
| 64 | &mut bos_descriptor, | 64 | &mut bos_descriptor, |
| 65 | &mut [], // no msos descriptors | ||
| 65 | &mut control_buf, | 66 | &mut control_buf, |
| 66 | ); | 67 | ); |
| 67 | 68 | ||
diff --git a/examples/stm32l5/src/bin/usb_serial.rs b/examples/stm32l5/src/bin/usb_serial.rs index ff1154f92..58a8898a6 100644 --- a/examples/stm32l5/src/bin/usb_serial.rs +++ b/examples/stm32l5/src/bin/usb_serial.rs | |||
| @@ -57,6 +57,7 @@ async fn main(_spawner: Spawner) { | |||
| 57 | &mut device_descriptor, | 57 | &mut device_descriptor, |
| 58 | &mut config_descriptor, | 58 | &mut config_descriptor, |
| 59 | &mut bos_descriptor, | 59 | &mut bos_descriptor, |
| 60 | &mut [], // no msos descriptors | ||
| 60 | &mut control_buf, | 61 | &mut control_buf, |
| 61 | ); | 62 | ); |
| 62 | 63 | ||
diff --git a/examples/stm32u5/src/bin/usb_serial.rs b/examples/stm32u5/src/bin/usb_serial.rs index eaa1c2912..a218d5dfd 100644 --- a/examples/stm32u5/src/bin/usb_serial.rs +++ b/examples/stm32u5/src/bin/usb_serial.rs | |||
| @@ -67,6 +67,7 @@ async fn main(_spawner: Spawner) { | |||
| 67 | &mut device_descriptor, | 67 | &mut device_descriptor, |
| 68 | &mut config_descriptor, | 68 | &mut config_descriptor, |
| 69 | &mut bos_descriptor, | 69 | &mut bos_descriptor, |
| 70 | &mut [], // no msos descriptors | ||
| 70 | &mut control_buf, | 71 | &mut control_buf, |
| 71 | ); | 72 | ); |
| 72 | 73 | ||
