Skip to content

Commit 9444d31

Browse files
authored
Update build documentation for archlinux (#261)
Add dependency list for archlinux and gcc hints.
1 parent 58e91ae commit 9444d31

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/build.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@ The easiest way to get all necessary tools is to run `nix-shell` from the root o
1414

1515
To compile the firmware for the board you will need `arm-none-eabi-gcc` compiler.
1616

17-
**Linux**:
17+
**Debian/Ubuntu**:
1818
```sh
1919
sudo apt-get install build-essential gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch openocd
2020
```
2121

22+
**Archlinux**:
23+
```sh
24+
sudo pacman -S arm-none-eabi-gcc arm-none-eabi-binutils openocd base-devel python-case
25+
```
26+
You might need change default gcc flag settings with `CFLAGS_EXTRA="-w"`. Export it or set the variable before of `make`
27+
to avoid warnings being raised as errors.
28+
2229
**MacOS**:
2330
```sh
2431
brew tap ArmMbed/homebrew-formulae

0 commit comments

Comments
 (0)