aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-11-08 23:08:50 +0100
committerDario Nieuwenhuis <[email protected]>2023-11-08 23:21:52 +0100
commit0b015bd727547d1eade5cd12c8b6a1b77483e6db (patch)
tree77f8a52f5a7eb5a8cc5981eae16e9871614015c7 /examples/stm32f4
parent79acb560ecb9089e31efdea29c6046225971fee3 (diff)
usb: remove msos-descriptor feature.
Diffstat (limited to 'examples/stm32f4')
-rw-r--r--examples/stm32f4/Cargo.toml2
-rw-r--r--examples/stm32f4/src/bin/usb_ethernet.rs2
-rw-r--r--examples/stm32f4/src/bin/usb_serial.rs2
3 files changed, 3 insertions, 3 deletions
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 = ["
10embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] } 10embassy-sync = { version = "0.4.0", path = "../../embassy-sync", features = ["defmt"] }
11embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] } 11embassy-executor = { version = "0.3.1", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
12embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } 12embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] }
13embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor"] } 13embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt" ] }
14embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "nightly"] } 14embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", "nightly"] }
15 15
16defmt = "0.3" 16defmt = "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