Skip to content

Commit 305de2b

Browse files
bors[bot]mfiumara
andcommitted
Merge #151
151: Added openocd installation guide for Arch Linux r=korken89 a=Matt90o openocd is not available in official repositories for Arch Linux, this edit gives readers two options for installing the package on their system. Co-authored-by: Matt90o <[email protected]>
2 parents 92c4881 + 63818ce commit 305de2b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/03-setup/linux.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,16 @@ $ sudo dnf install \
2727
``` console
2828
$ sudo pacman -S \
2929
arm-none-eabi-gdb \
30-
minicom \
31-
openocd
30+
minicom
31+
```
32+
`openocd` is not availabie in the official Arch repositories, but can be installed from the [AUR](https://aur.archlinux.org/packages/openocd/) or can be compiled from source as follows:
33+
34+
``` console
35+
git clone git://git.code.sf.net/p/openocd/code openocd-code
36+
cd openocd-code
37+
./bootstrap
38+
./configure
39+
make && make install
3240
```
3341

3442
- `arm-none-eabi-gdb` for other distros

0 commit comments

Comments
 (0)