diff options
| author | Bob McWhirter <[email protected]> | 2021-11-15 11:19:19 -0500 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-11-15 11:19:19 -0500 |
| commit | a770fc77c907c50fd2c4a7f6ce934eb45974ae55 (patch) | |
| tree | 1ffee8ef80106cd53a14a01a8f90c4ff5ef4dd4f /examples/stm32l1 | |
| parent | c2da49826345e82e7539fce3e96cce203253dc56 (diff) | |
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32l1')
| -rw-r--r-- | examples/stm32l1/Cargo.toml | 21 |
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" | |||
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | resolver = "2" | 6 | resolver = "2" |
| 7 | 7 | ||
| 8 | [features] | ||
| 9 | default = [ | ||
| 10 | "defmt-default", | ||
| 11 | ] | ||
| 12 | defmt-default = [] | ||
| 13 | defmt-trace = [] | ||
| 14 | defmt-debug = [] | ||
| 15 | defmt-info = [] | ||
| 16 | defmt-warn = [] | ||
| 17 | defmt-error = [] | ||
| 18 | |||
| 19 | [dependencies] | 8 | [dependencies] |
| 20 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } | 9 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } |
| 21 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } | 10 | embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } |
| 22 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "stm32l151cb-a", "time-driver-tim2", "memory-x"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l151cb-a", "time-driver-tim2", "memory-x"] } |
| 23 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } | 12 | embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } |
| 24 | embassy-macros = { path = "../../embassy-macros" } | 13 | embassy-macros = { path = "../../embassy-macros" } |
| 25 | 14 | ||
| 26 | defmt = "0.2.3" | 15 | defmt = "0.3" |
| 27 | defmt-rtt = "0.2.0" | 16 | defmt-rtt = "0.3" |
| 28 | 17 | ||
| 29 | cortex-m = "0.7.3" | 18 | cortex-m = "0.7.3" |
| 30 | cortex-m-rt = "0.7.0" | 19 | cortex-m-rt = "0.7.0" |
| 31 | embedded-hal = "0.2.6" | 20 | embedded-hal = "0.2.6" |
| 32 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 21 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 33 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 22 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 34 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 23 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 35 | heapless = { version = "0.7.5", default-features = false } | 24 | heapless = { version = "0.7.5", default-features = false } |
