Skip to content

Commit

Permalink
Also add note the the f3disco version
Browse files Browse the repository at this point in the history
  • Loading branch information
arr-ee committed Mar 29, 2023
1 parent 419a3de commit fd17c3e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions f3discovery/src/05-led-roulette/flash-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ gdb-multiarch -q -ex "target remote :3333" target/thumbv7em-none-eabihf/debug/le
``` console
gdb -q -ex "target remote :3333" target/thumbv7em-none-eabihf/debug/led-roulette
```

> **NOTE**: If you are getting `target/thumbv7em-none-eabihf/debug/led-roulette: No such file or directory`
> error, try adding `../../` to the file path, for example:
>
> ```shell
> $ gdb -q -ex "target remote :3333" ../../target/thumbv7em-none-eabihf/debug/led-roulette
> ```
>
> This is caused by each example project being in a `workspace` that contains the entire book, and workspaces have
> a single `target` directory. Check out [Workspaces chapter in Rust Book] for more.
### **Failing case**
You can detect a failing case if there is a `warning` or `error` after the `Remote debugging using :3333` line:
Expand Down

0 comments on commit fd17c3e

Please sign in to comment.