Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/03-setup/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ sudo apt-get install \

### Fedora 23 or newer

Install GDB as described in [Other distros](#other-distros) and the following packages:

``` console
sudo dnf install \
minicom \
openocd
openocd \
gdb
```

### Arch Linux
Expand Down
11 changes: 11 additions & 0 deletions src/03-setup/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ Two *red* LEDs should turn on right after connecting the USB cable to the board.
> no `-1` at the end). Alternatively, older revisions can use `-f board/stm32f3discovery.cfg`
> instead of `-f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg`.

> **NOTE** OpenOCD v0.11.0 has deprecated `interface/stlink-v2.cfg` in favor of
> `interface/stlink.cfg` which supports ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, and
> ST-LINK/V3.

### *Nix

> **FYI:** The `interface` directory is typically located in `/usr/share/openocd/scripts/`,
Expand All @@ -78,6 +82,13 @@ Two *red* LEDs should turn on right after connecting the USB cable to the board.
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
```

or

``` console
openocd -f interface/stlink.cfg -f target/stm32f3x.cfg
```


### Windows

Below the references to `C:\OpenOCD` is the directory where OpenOCD is installed.
Expand Down