Skip to content

Commit 9f4e715

Browse files
Update README.md
1 parent 5c718ae commit 9f4e715

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

README.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,29 @@ There are also many other options that can be changed in conf_general.h
8282

8383
### On Ubuntu
8484

85-
Install the gcc-arm-embedded toolchain
86-
87-
85+
Install the gcc-arm-embedded toolchain. Recommended version ```gcc-arm-none-eabi-7-2018-q2```
86+
87+
**Method 1 - Through Official GNU Arm Embedded Toolchain Downloads**
88+
1. Go to [GNU Arm Embedded Toolchain Downloads](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads)
89+
2. Locate and Download version **gcc-arm-none-eabi-7-2018-q2** for your machine
90+
```GNU Arm Embedded Toolchain: 7-2018-q2-update June 27, 2018```
91+
Linux 64-bit version can be downloaded from [here](https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update)
92+
3. Unpack the archive in the file manager by right-clicking on it and select "extract here"
93+
4. Change directory to the unpacked folder, unpack it in /usr/local by execute the following command
94+
```
95+
cd gcc-arm-none-eabi-7-2018-q2-update-linux
96+
sudo cp -RT gcc-arm-none-eabi-7-2018-q2-update/ /usr/local
97+
```
98+
99+
**Method 2 - Through apt install**
88100
```bash
89101
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
90102
sudo apt update
91103
sudo apt install gcc-arm-embedded
92104
```
93105

94-
Add udev rules to use the stlink v2 programmer without being root
95-
96106

107+
**Optional - Add udev rules to use the stlink v2 programmer without being root**
97108
```bash
98109
wget vedder.se/Temp/49-stlinkv2.rules
99110
sudo mv 49-stlinkv2.rules /etc/udev/rules.d/

0 commit comments

Comments
 (0)