Closed Artur-Romaniuk closed 5 months ago
Hello and thank you for that report.
try to add
[patch.crates-io]
defmt = { git = "https://github.com/t-moe/defmt" }
defmt-rtt = { git = "https://github.com/t-moe/defmt" }
so that the internal dependencies to panic-probe are also fixed.
I'm still hoping that the defmt team will at some point merge my PR, currently they seem to be busy with other stuff.
I'll consider to fix the docs, if this takes longer ;)
I've updated the readme in this repo and the cargo.toml here and in the example repo.
Hope this helps. Otherwise please report back.
Thank you. This is very helpful. Especially, that I am currently debugging another issue and defmt revealed new info.
In order to use defmt logging, one has to enable "defmt" feature for embedded-test.
This resolved to the internal dependency of embedded-test: defmt v0.3.5
At the same time, docs say that one should use patched panic-probe
and replace all other uses of defmt with patched version:
This results in a dependency conflict like this:
Maybe docs should be updated to better describe how to use "print-defmt" feature, as all examples have only "print-log",