discovery icon indicating copy to clipboard operation
discovery copied to clipboard

[src/07-registers] not able to run

Open a-gradina opened this issue 3 years ago • 3 comments

Up until this chapter I was able to code along. cargo run throws an error for this chapter and onward.

agradina@pop-os:~/discovery/f3discovery/src/07-registers$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `arm-none-eabi-gdb -q -x openocd.gdb /home/agradina/discovery/f3discovery/target/thumbv7em-none-eabihf/debug/registers`
error: could not execute process `arm-none-eabi-gdb -q -x openocd.gdb /home/agradina/discovery/f3discovery/target/thumbv7em-none-eabihf/debug/registers` (never executed)

Caused by:
  No such file or directory (os error 2)

I have GDB set to gdb-multiarch -q in the config.toml file.

a-gradina avatar Oct 10 '22 17:10 a-gradina

Also experiencing this exact same error. Just came here to post this issue.

chapter 7 discovery rust

BikiniBottomsVeryOwn avatar Oct 12 '22 06:10 BikiniBottomsVeryOwn

Also was getting this exact same error when running "cargo run" on chapters 8 and 9. Didn't check any further but this problem may span through the rest of the chapters.

BikiniBottomsVeryOwn avatar Oct 12 '22 06:10 BikiniBottomsVeryOwn

This issue is a duplicate of another older issue: https://github.com/rust-embedded/discovery/issues/379

The solution is to delete 07-registers/.cargo directory.

This issue can be closed.

yoloVoe avatar Jan 04 '23 05:01 yoloVoe