From da11b67bbb660149b19ec9009a5e26cae2eeafdb Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 11 Nov 2020 14:20:46 +0100 Subject: [PATCH] use crates.io versions also enable panic-probe's 'print-defmt' so panic messages are printed --- Cargo.toml | 15 +++------------ README.md | 8 ++------ testsuite/Cargo.toml | 17 +++-------------- 3 files changed, 8 insertions(+), 32 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9b74cdb..495921c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,21 +8,12 @@ version = "0.1.0" [workspace] members = ["testsuite"] -[dependencies.defmt] -git = "https://github.com/knurling-rs/defmt" -branch = "main" - -[dependencies.defmt-rtt] -git = "https://github.com/knurling-rs/defmt" -branch = "main" - -[dependencies.panic-probe] -git = "https://github.com/knurling-rs/probe-run" -branch = "main" - [dependencies] cortex-m = "0.6.4" cortex-m-rt = "0.6.13" +defmt = "0.1.0" +defmt-rtt = "0.1.0" +panic-probe = { version = "0.1.0", features = ["print-defmt"] } # TODO(4) enter your HAL here # some-hal = "1.2.3" diff --git a/README.md b/README.md index 04394d7..3c1e0da 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,10 @@ $ cargo install flip-link ``` -#### 2. The **git** version of `probe-run`: +#### 2. `probe-run`: - ``` console -$ cargo install \ - --git https://github.com/knurling-rs/probe-run \ - --branch main \ - --features defmt +$ cargo install probe-run ``` #### 3. [`cargo-generate`]: diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index 270d245..4196815 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -10,24 +10,13 @@ version = "0.1.0" name = "test" harness = false -[dependencies.defmt] -git = "https://github.com/knurling-rs/defmt" -branch = "main" - -[dependencies.defmt-rtt] -git = "https://github.com/knurling-rs/defmt" -branch = "main" - -[dependencies.panic-probe] -git = "https://github.com/knurling-rs/probe-run" -branch = "main" -# enable the `print-defmt` feature for more complete test output -features = ["print-defmt"] - [dependencies] {{project-name}} = { path = ".." } cortex-m = "0.6.3" cortex-m-rt = "0.6.12" +defmt = "0.1.0" +defmt-rtt = "0.1.0" +panic-probe = { version = "0.1.0", features = ["print-defmt" ] } [features] # set logging levels here