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/stm32wl55 | |
| parent | c2da49826345e82e7539fce3e96cce203253dc56 (diff) | |
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/stm32wl55')
| -rw-r--r-- | examples/stm32wl55/Cargo.toml | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/examples/stm32wl55/Cargo.toml b/examples/stm32wl55/Cargo.toml index d92f7aa00..00b46696a 100644 --- a/examples/stm32wl55/Cargo.toml +++ b/examples/stm32wl55/Cargo.toml | |||
| @@ -5,34 +5,23 @@ name = "embassy-stm32wl55-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", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz", "unstable-pac"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32wl55jc_cm4", "time-driver-tim2", "memory-x", "subghz", "unstable-pac"] } |
| 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-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] } | 13 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] } |
| 25 | 14 | ||
| 26 | lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "4bff2e0021103adfbccedcbf49dbcd0474adc4b2", default-features = false, features = ["async"] } | 15 | lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "4bff2e0021103adfbccedcbf49dbcd0474adc4b2", default-features = false, features = ["async"] } |
| 27 | lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "4bff2e0021103adfbccedcbf49dbcd0474adc4b2", default-features = false, features = ["default-crypto"] } | 16 | lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "4bff2e0021103adfbccedcbf49dbcd0474adc4b2", default-features = false, features = ["default-crypto"] } |
| 28 | 17 | ||
| 29 | defmt = "0.2.3" | 18 | defmt = "0.3" |
| 30 | defmt-rtt = "0.2.0" | 19 | defmt-rtt = "0.3" |
| 31 | 20 | ||
| 32 | cortex-m = "0.7.3" | 21 | cortex-m = "0.7.3" |
| 33 | cortex-m-rt = "0.7.0" | 22 | cortex-m-rt = "0.7.0" |
| 34 | embedded-hal = "0.2.6" | 23 | embedded-hal = "0.2.6" |
| 35 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 24 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 36 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 25 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 37 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } | 26 | rtt-target = { version = "0.3.1", features = ["cortex-m"] } |
| 38 | heapless = { version = "0.7.5", default-features = false } | 27 | heapless = { version = "0.7.5", default-features = false } |
