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/nrf | |
| parent | c2da49826345e82e7539fce3e96cce203253dc56 (diff) | |
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/nrf')
| -rw-r--r-- | examples/nrf/Cargo.toml | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/examples/nrf/Cargo.toml b/examples/nrf/Cargo.toml index b89aa513f..f7c0f85e6 100644 --- a/examples/nrf/Cargo.toml +++ b/examples/nrf/Cargo.toml | |||
| @@ -4,30 +4,19 @@ edition = "2018" | |||
| 4 | name = "embassy-nrf-examples" | 4 | name = "embassy-nrf-examples" |
| 5 | version = "0.1.0" | 5 | version = "0.1.0" |
| 6 | 6 | ||
| 7 | [features] | ||
| 8 | default = [ | ||
| 9 | "defmt-default", | ||
| 10 | ] | ||
| 11 | defmt-default = [] | ||
| 12 | defmt-trace = [] | ||
| 13 | defmt-debug = [] | ||
| 14 | defmt-info = [] | ||
| 15 | defmt-warn = [] | ||
| 16 | defmt-error = [] | ||
| 17 | |||
| 18 | 7 | ||
| 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", "defmt-trace"] } |
| 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-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] } | 11 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] } |
| 23 | 12 | ||
| 24 | defmt = "0.2.3" | 13 | defmt = "0.3" |
| 25 | defmt-rtt = "0.2.0" | 14 | defmt-rtt = "0.3" |
| 26 | 15 | ||
| 27 | cortex-m = { version = "0.7.3", features = ["inline-asm"] } | 16 | cortex-m = { version = "0.7.3", features = ["inline-asm"] } |
| 28 | cortex-m-rt = "0.7.0" | 17 | cortex-m-rt = "0.7.0" |
| 29 | embedded-hal = "0.2.6" | 18 | embedded-hal = "0.2.6" |
| 30 | panic-probe = { version = "0.2.0", features = ["print-defmt"] } | 19 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 31 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } | 20 | futures = { version = "0.3.17", default-features = false, features = ["async-await"] } |
| 32 | rand = { version = "0.8.4", default-features = false } | 21 | rand = { version = "0.8.4", default-features = false } |
| 33 | embedded-storage = "0.2.0" | 22 | embedded-storage = "0.2.0" |
