Merge pull request #54 from jannic/defmt-workaround

Use fixed version dependency on defmt 0.3.2
This commit is contained in:
Jan Niehusmann 2023-04-12 18:51:28 +02:00 committed by GitHub
commit e2dd602ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,10 @@ cortex-m = "0.7"
cortex-m-rt = "0.7"
embedded-hal = { version = "0.2.5", features = ["unproven"] }
defmt = "0.3"
# Versions >0.3.4 contain a breaking change (wire format 4) and version 0.3.3 is yanked,
# so we need to force version 0.3.2 for now to be compatible with the latest
# working version of probe-run.
defmt = "=0.3.2"
defmt-rtt = "0.4"
panic-probe = { version = "0.3", features = ["print-defmt"] }

View File

@ -57,7 +57,8 @@ If you aren't using a debugger (or want to use cargo-embed/probe-rs-debugger), c
rustup target install thumbv6m-none-eabi
cargo install flip-link
# This is our suggested default 'runner'
cargo install probe-run
# (Because of https://github.com/knurling-rs/probe-run/issues/391, use an older version for now)
cargo install probe-run --version=0.3.6
# If you want to use elf2uf2-rs instead of probe-run, instead do...
cargo install elf2uf2-rs --locked
```