Skip to content

Commit

Permalink
ARM toolchain docs for other distros
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallpierce committed Apr 3, 2018
1 parent 6c25d36 commit 952a263
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/template
Cargo.lock
book/
target/
target/
/.idea
15 changes: 15 additions & 0 deletions src/03-setup/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,21 @@ $ sudo pacman -S \
openocd
```

- Other distros

For distros that don't have packages for [ARM's pre-built toolchain](https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads), download the "Linux 64-bit" file and put its `bin` directory on your path. Here's one way to do it:

``` console
$ mkdir -p ~/local && cd ~/local
$ tar xjf /path/to/downloaded/file/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2.tbz
```

Then, use your editor of choice to append to your `PATH` in the appropriate shell init file (e.g. `~/.zshrc` or `~/.bashrc`):

```
PATH=$PATH:$HOME/local/gcc-arm-none-eabi-7-2017-q4-major/bin
```

## Optional packages

- Ubuntu / Debian
Expand Down

0 comments on commit 952a263

Please sign in to comment.