aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-11-08 19:13:12 -0600
committerxoviat <[email protected]>2023-11-08 19:13:12 -0600
commitda4feb3693f01c8dc045ec4c5b5bae9c7246c354 (patch)
treee8c67676b1db2001e62c151a8e42c22d30bee5a9 /examples/stm32f4
parent05a4bb3a4acdb5a980efbb6f807696c1c702e01c (diff)
parent1977acdb11c32f2b92c31885a8a1dc8c10425e56 (diff)
Merge branch 'main' of github.com:embassy-rs/embassy into low-power
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