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/stm32f7 | |
| parent | c2da49826345e82e7539fce3e96cce203253dc56 (diff) | |
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32f7')
| -rw-r--r-- | examples/stm32f7/Cargo.toml | 23 |
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" | |||
| 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", "net", "stm32f767zi", "unstable-pac", "time-driver-tim2"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "net", "stm32f767zi", "unstable-pac", "time-driver-tim2"] } |
| 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-net = { path = "../../embassy-net", default-features = false, features = ["defmt-debug", "defmt", "tcp", "medium-ethernet", "pool-16"] } | 13 | embassy-net = { path = "../../embassy-net", default-features = false, features = ["defmt", "tcp", "medium-ethernet", "pool-16"] } |
| 25 | embassy-macros = { path = "../../embassy-macros" } | 14 | embassy-macros = { path = "../../embassy-macros" } |
| 26 | 15 | ||
| 27 | defmt = "0.2.3" | 16 | defmt = "0.3" |
| 28 | defmt-rtt = "0.2.0" | 17 | defmt-rtt = "0.3" |
| 29 | 18 | ||
| 30 | cortex-m = "0.7.3" | 19 | cortex-m = "0.7.3" |
| 31 | cortex-m-rt = "0.7.0" | 20 | cortex-m-rt = "0.7.0" |
| 32 | embedded-hal = "0.2.6" | 21 | embedded-hal = "0.2.6" |
| 33 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 22 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 34 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 23 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 35 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 24 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 36 | heapless = { version = "0.7.5", default-features = false } | 25 | heapless = { version = "0.7.5", default-features = false } |
