Skip to content

Commit

Permalink
Merge #324
Browse files Browse the repository at this point in the history
324: Improved ligability for hardware.md r=eldruin a=tomasApo

When following Section 2.2 Hardware, I would get stuck trying to launch `gdp`  but wouldn't get stuck in section 2.1 QEMU. There is a disparity between the two sections of code even though they achieving the same function. 
My suggestion is to warn the user about the different versions of `gdp` vs `gdb-multiarch`  in the same fashion as the QEMU section.

Co-authored-by: Tomás Apolónia <[email protected]>
  • Loading branch information
bors[bot] and tomasApo authored Jul 25, 2022
2 parents 7669795 + bf8d3d7 commit 6ca3b52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/start/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,13 @@ Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
On another terminal run GDB, also from the root of the template.

``` text
$ <gdb> -q target/thumbv7em-none-eabihf/debug/examples/hello
gdb-multiarch -q target/thumbv7em-none-eabihf/debug/examples/hello
```

**NOTE**: like before you might need another version of gdb instead of `gdb-multiarch` depending
on which one you installed in the installation chapter. This could also be
`arm-none-eabi-gdb` or just `gdb`.

Next connect GDB to OpenOCD, which is waiting for a TCP connection on port 3333.

``` console
Expand Down

0 comments on commit 6ca3b52

Please sign in to comment.