rust-embedded/discovery

Chapter 5.3: `monitor reset` is not supported by `cargo-embed` >= 0.13.0

arr-ee opened this issue · 4 comments

Chapter 5 refers to monitor reset gdb command in the Debug it section

Unfortunately, cargo-embed (or rather gdb-server) dropped support for this command in 0.13.0 (probe-rs/probe-rs#1564). Given that book recommends installing cargo-embed >= 0.11.0, readers might benefit from a warning about this.

I've also had issues installing cargo-embed 0.11.0 or 0.12.0 due to dependencies being yanked, but this might be a user error :)

I‘m happy to open a PR warning about this + hopefully probe-rs/probe-rs#1565 lands, and we can just point people to the latest version.

@arr-ee Thanks for your help and this coufused me a lot. I think this may need to be mentioned in the content.

@PandaLord glad it was useful!

Turns out probe-rs have cut two releases including the fix, I was just not aware of that. I’ll open a PR to bump its version to the one including the fix, and add a mention to comments.

i already tested by my side, the command shows up once i updated cargo-embed. Thanks again!