aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l1
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/stm32l1
parentc2da49826345e82e7539fce3e96cce203253dc56 (diff)
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32l1')
-rw-r--r--examples/stm32l1/Cargo.toml21
1 files changed, 5 insertions, 16 deletions
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml
index e4dd7186a..f9d3b29ea 100644
--- a/examples/stm32l1/Cargo.toml
+++ b/examples/stm32l1/Cargo.toml
@@ -5,31 +5,20 @@ name = "embassy-stm32l1-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", "stm32l151cb-a", "time-driver-tim2", "memory-x"] } 11embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l151cb-a", "time-driver-tim2", "memory-x"] }
23embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } 12embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" }
24embassy-macros = { path = "../../embassy-macros" } 13embassy-macros = { path = "../../embassy-macros" }
25 14
26defmt = "0.2.3" 15defmt = "0.3"
27defmt-rtt = "0.2.0" 16defmt-rtt = "0.3"
28 17
29cortex-m = "0.7.3" 18cortex-m = "0.7.3"
30cortex-m-rt = "0.7.0" 19cortex-m-rt = "0.7.0"
31embedded-hal = "0.2.6" 20embedded-hal = "0.2.6"
32panic-probe = { version = "0.2.0", features = ["print-defmt"] } 21panic-probe = { version = "0.3", features = ["print-defmt"] }
33futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 22futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
34rtt-target = { version = "0.3.1", features = ["cortex-m"] } 23rtt-target = { version = "0.3.1", features = ["cortex-m"] }
35heapless = { version = "0.7.5", default-features = false } 24heapless = { version = "0.7.5", default-features = false }