From 2f239d821171306a7fc2ff3f096f31dce3870302 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 5 Sep 2021 12:52:37 +0000 Subject: [PATCH] Upgrade dependency on defmt to 0.2.0 When installing probe run using `cargo install --git https://github.com/rp-rs/probe-run --branch main` as suggested by README.md, one currently gets version 0.2.4, which uses defmt 0.2. So, when following the README.md, one gets the following error message: ``` Error: defmt version mismatch: firmware is using 0.1, `probe-run` supports 0.2 suggestion: `cargo install` a different non-git version of `probe-run` that supports defmt 0.1 ``` This can be fixed by updating the template to defmt 0.2. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fc465c4..9df9043 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,8 @@ cortex-m-rt = "0.6.15" embedded-hal = { version = "0.2.5", features=["unproven"] } embedded-time = "0.12.0" -defmt = "0.1.3" -defmt-rtt = "0.1.0" +defmt = "0.2.0" +defmt-rtt = "0.2.0" panic-probe = "0.1.0" rp2040-hal = { git = "https://github.com/rp-rs/rp-hal", branch="main", features=["rt"] }