rust-embedded / discovery

Discover the world of microcontrollers through Rust!
https://docs.rust-embedded.org/discovery/
Apache License 2.0
1.49k stars 515 forks source link

problem at 05-led-roulette, gdb debugging on windows10, incompatible version? #547

Closed rrfrse closed 1 year ago

rrfrse commented 1 year ago

I'm stuck on 05-led-roulette gdb debugging on windows 10. I'm getting this error:

Remote debugging using :1337 warning: while parsing target description (at line 4): Target description specified unknown architecture "armv7" warning: Could not load XML target description; ignoring

rrfrse commented 1 year ago

I found a way a way to make it work, download and install the newer toolchain: https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain#Technical-Specifications

rename arm-none-eabi-gdb.exe to gdb.exe and put it into PATH

The "break 13" doesn't break at the correct line to get "print x" but if you continue to the loop with "continue" you can print x and _y as in the tutorial.