From 5e8608c7a5b1e4e92f1fb650ea0ef47e5a6df563 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 1 Nov 2020 17:17:24 +0100 Subject: Make defmt optional with new `anyfmt` crate --- examples/Cargo.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'examples/Cargo.toml') diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 8eb7a5ff7..719f73269 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -17,14 +17,17 @@ defmt-error = [] [dependencies] +embassy = { version = "0.1.0", path = "../embassy", features = ["defmt"] } +embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt", "defmt-trace", "52840"] } +anyfmt = { version = "0.1.0", path = "../anyfmt", features = ["defmt"] } + +defmt = "0.1.0" +defmt-rtt = "0.1.0" + cortex-m = { version = "0.6.3" } cortex-m-rt = "0.6.12" -defmt = "0.1.0" embedded-hal = { version = "0.2.4" } -defmt-rtt = "0.1.0" panic-probe = "0.1.0" nrf52840-hal = { version = "0.11.0" } -embassy = { version = "0.1.0", path = "../embassy" } -embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt-trace", "52840"] } futures = { version = "0.3.7", default-features = false, features = ["async-await"] } -cortex-m-rtic = { git = "https://github.com/rtic-rs/cortex-m-rtic", branch = "master"} \ No newline at end of file +cortex-m-rtic = { git = "https://github.com/rtic-rs/cortex-m-rtic", branch = "master"} -- cgit