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/stm32f0 | |
| parent | c2da49826345e82e7539fce3e96cce203253dc56 (diff) | |
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32f0')
| -rw-r--r-- | examples/stm32f0/Cargo.toml | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/examples/stm32f0/Cargo.toml b/examples/stm32f0/Cargo.toml index e586748ab..dcc2e206c 100644 --- a/examples/stm32f0/Cargo.toml +++ b/examples/stm32f0/Cargo.toml | |||
| @@ -10,20 +10,10 @@ resolver = "2" | |||
| 10 | [dependencies] | 10 | [dependencies] |
| 11 | cortex-m = { version = "0.7.3", features = ["inline-asm"] } | 11 | cortex-m = { version = "0.7.3", features = ["inline-asm"] } |
| 12 | cortex-m-rt = "0.7.0" | 12 | cortex-m-rt = "0.7.0" |
| 13 | defmt = "0.2.3" | 13 | defmt = "0.3" |
| 14 | defmt-rtt = "0.2.0" | 14 | defmt-rtt = "0.3" |
| 15 | panic-probe = "0.2.0" | 15 | panic-probe = "0.3" |
| 16 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 16 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 17 | embassy = { path = "../../embassy", features = ["defmt"] } | 17 | embassy = { path = "../../embassy", features = ["defmt"] } |
| 18 | embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "memory-x", "stm32f030f4", "time-driver-tim3"] } | 18 | embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "memory-x", "stm32f030f4", "time-driver-tim3"] } |
| 19 | 19 | ||
| 20 | [features] | ||
| 21 | default = [ | ||
| 22 | "defmt-default", | ||
| 23 | ] | ||
| 24 | defmt-default = [] | ||
| 25 | defmt-trace = [] | ||
| 26 | defmt-debug = [] | ||
| 27 | defmt-info = [] | ||
| 28 | defmt-warn = [] | ||
| 29 | defmt-error = [] | ||
