Skip to content

Commit 3fe6219

Browse files
Update Fedora and Linux verification steps
1 parent 7c9416a commit 3fe6219

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/03-setup/linux.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ sudo apt-get install \
4242

4343
### Fedora 23 or newer
4444

45-
Install GDB as described in [Other distros](#other-distros) and the following packages:
46-
4745
``` console
4846
sudo dnf install \
4947
minicom \
50-
openocd
48+
openocd \
49+
gdb
5150
```
5251

5352
### Arch Linux

src/03-setup/verify.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ Two *red* LEDs should turn on right after connecting the USB cable to the board.
6868
> no `-1` at the end). Alternatively, older revisions can use `-f board/stm32f3discovery.cfg`
6969
> instead of `-f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg`.
7070
71+
> **NOTE** OpenOCD v0.11.0 has deprecated `interface/stlink-v2.cfg` in favor of
72+
> `interface/stlink.cfg` which supports ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, and
73+
> ST-LINK/V3.
74+
7175
### *Nix
7276

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

85+
or
86+
87+
``` console
88+
openocd -f interface/stlink.cfg -f target/stm32f3x.cfg
89+
```
90+
91+
8192
### Windows
8293

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

0 commit comments

Comments
 (0)