Use probe-rs instead of cargo embed#299
Conversation
|
Thanks for this PR! |
|
FYI, will test tomorrow instead since I cannot compile the psa backend in my M1 machine. |
|
If replacing
Yes, without I found a issue that the solution was to keep the Let me know how the QEMU test goes! |
|
I tried here, and I it indeeds gets stuck at On the other hand, the version on (although I just realised that the QEMU version doesn't work without the Have you tried using |
|
@geonnave Thanks for the This is how I understood they do in their example. Without this printer/decoder/parser combo, the log output appears as gibberish. Because of this, I reverted to using Let me know if you need any further adjustments! |
|
Thanks, left an editorial comment. Can you also please update the relevant section in the main README? Feel free to add me as collaborator in your fork, this way I can also push some changes when needed (like updating the README). |
|
I also just noticed, could you rebase and use the |
4e7adf0 to
9d9bda7
Compare
Sorry about that! I didn't knew you guys were using conventional commit messages. I've rebased the branch and updated the commit messages. Thanks for the heads up! |
I've taken a shot at removing cargo embed and using probe-rs instead. #298
It's working using
cargo run --target="thumbv7em-none-eabihf"Additionally, I've switched to using
defmtin place ofcortex_m_semihosting::hprintln. If this change is undesirable, please let me know and I can revert it.However, I encountered an issue: I couldn't get the tests to work with QEMU, as my computer gets stuck on every test. I tried running older commits, but nothing seems to work. Does
cargo runwith the default target work for you?I'm marking this as a draft so we can resolve the QEMU issue before merging.
Thanks!