Open adminSxs opened 2 years ago
The runners get the ELF file added to the command line arguments automatically. It appears you ran GDB by hand but didn't specify the path to the ELF file. Hence the error "No executable has been specified".
Either:
$ cargo run
Or
$ arm-none-eabi-gdb -q -x openocd.gdb ./target/thumbv7m-none-eabi/debug/<your-crate-name>
Os: win10 toolchain: stable-x86_64-pc-windows-msvc
config.toml
I follow embedded book
https://doc.rust-lang.org/stable/embedded-book/start/qemu.html
cargo build success, but i want to dbg, i usearm-none-eabi-gdb -q -x openocd.gdb