Skip to content

Commit 703aa54

Browse files
author
Andrzej Kurek
committed
Update instructions in setup.md
1 parent 7b50eb7 commit 703aa54

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

setup.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
### Install mbed-cli to a venv
1+
### Install mbed-cli
22

3-
Install mbed-cli to a virtual environment, so that all the things mbed-cli
3+
You can either install the mbed-cli directly, running:
4+
5+
```sh
6+
pip install --user mbed-cli
7+
```
8+
9+
or use a virtual environment, so that all the things mbed-cli
410
installs automatically don't interfere with other things you have installed as
511
part of your main environment (which may be managed by your package manager,
6-
etc.).
12+
etc.):
713

814
```sh
915
virtualenv venvs/mbed
@@ -13,15 +19,8 @@ pip install mbed-cli
1319

1420
### Install the GCC_ARM toolchain
1521

16-
We'll install arm-none-eabi-gcc to `/opt`. You may want to use `~/.local` or
17-
some other place. Where doesn't matter too much, so long as its in your `$PATH`.
18-
19-
```sh
20-
wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_4-2016q3/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 -O gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 && tar -xjf gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 -C /opt
21-
rm gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
22-
```
23-
24-
Remember to add `/opt/gcc-arm-none-eabi-5.4-2016q3/bin` to your `$PATH`.
22+
You can download the newest version of arm-none-eabi-ggc here: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
23+
Follow the `readme.txt` for detailed installation instructions.
2524

2625
### Install the ATECC608A example
2726

0 commit comments

Comments
 (0)