aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f7
diff options
context:
space:
mode:
authorBob McWhirter <[email protected]>2021-11-15 11:19:19 -0500
committerBob McWhirter <[email protected]>2021-11-15 11:19:19 -0500
commita770fc77c907c50fd2c4a7f6ce934eb45974ae55 (patch)
tree1ffee8ef80106cd53a14a01a8f90c4ff5ef4dd4f /examples/stm32f7
parentc2da49826345e82e7539fce3e96cce203253dc56 (diff)
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32f7')
-rw-r--r--examples/stm32f7/Cargo.toml23
1 files changed, 6 insertions, 17 deletions
diff --git a/examples/stm32f7/Cargo.toml b/examples/stm32f7/Cargo.toml
index f49a23e31..ac46cd86e 100644
--- a/examples/stm32f7/Cargo.toml
+++ b/examples/stm32f7/Cargo.toml
@@ -5,32 +5,21 @@ name = "embassy-stm32f7-examples"
5version = "0.1.0" 5version = "0.1.0"
6resolver = "2" 6resolver = "2"
7 7
8[features]
9default = [
10 "defmt-default",
11]
12defmt-default = []
13defmt-trace = []
14defmt-debug = []
15defmt-info = []
16defmt-warn = []
17defmt-error = []
18
19[dependencies] 8[dependencies]
20embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } 9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] }
21embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } 10embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] }
22embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "net", "stm32f767zi", "unstable-pac", "time-driver-tim2"] } 11embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "net", "stm32f767zi", "unstable-pac", "time-driver-tim2"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 12embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] } 13embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt", "tcp", "medium-ethernet", "pool-16"] }
25embassy-macros = { path = "../../embassy-macros" } 14embassy-macros = { path = "../../embassy-macros" }
26 15
27defmt = "0.2.3" 16defmt = "0.3"
28defmt-rtt = "0.2.0" 17defmt-rtt = "0.3"
29 18
30cortex-m = "0.7.3" 19cortex-m = "0.7.3"
31cortex-m-rt = "0.7.0" 20cortex-m-rt = "0.7.0"
32embedded-hal = "0.2.6" 21embedded-hal = "0.2.6"
33panic-probe = { version = "0.2.0", features = ["print-defmt"] } 22panic-probe = { version = "0.3", features = ["print-defmt"] }
34futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 23futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
35rtt-target = { version = "0.3.1", features = ["cortex-m"] } 24rtt-target = { version = "0.3.1", features = ["cortex-m"] }
36heapless = { version = "0.7.5", default-features = false } 25heapless = { version = "0.7.5", default-features = false }