aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf
diff options
context:
space:
mode:
authorBob McWhirter <[email protected]>2021-11-15 11:19:19 -0500
committerBob McWhirter <[email protected]>2021-11-15 11:19:19 -0500
commita770fc77c907c50fd2c4a7f6ce934eb45974ae55 (patch)
tree1ffee8ef80106cd53a14a01a8f90c4ff5ef4dd4f /examples/nrf
parentc2da49826345e82e7539fce3e96cce203253dc56 (diff)
Adjust all examples to defmt 0.3.
Diffstat (limited to 'examples/nrf')
-rw-r--r--examples/nrf/Cargo.toml19
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"
4name = "embassy-nrf-examples" 4name = "embassy-nrf-examples"
5version = "0.1.0" 5version = "0.1.0"
6 6
7[features]
8default = [
9 "defmt-default",
10]
11defmt-default = []
12defmt-trace = []
13defmt-debug = []
14defmt-info = []
15defmt-warn = []
16defmt-error = []
17
18 7
19[dependencies] 8[dependencies]
20embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] } 9embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-trace"] }
21embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } 10embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] }
22embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "defmt-trace", "nrf52840", "time-driver-rtc1", "gpiote"] } 11embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = ["defmt", "nrf52840", "time-driver-rtc1", "gpiote"] }
23 12
24defmt = "0.2.3" 13defmt = "0.3"
25defmt-rtt = "0.2.0" 14defmt-rtt = "0.3"
26 15
27cortex-m = { version = "0.7.3", features = ["inline-asm"] } 16cortex-m = { version = "0.7.3", features = ["inline-asm"] }
28cortex-m-rt = "0.7.0" 17cortex-m-rt = "0.7.0"
29embedded-hal = "0.2.6" 18embedded-hal = "0.2.6"
30panic-probe = { version = "0.2.0", features = ["print-defmt"] } 19panic-probe = { version = "0.3", features = ["print-defmt"] }
31futures = { version = "0.3.17", default-features = false, features = ["async-await"] } 20futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
32rand = { version = "0.8.4", default-features = false } 21rand = { version = "0.8.4", default-features = false }
33embedded-storage = "0.2.0" 22embedded-storage = "0.2.0"