diff --git a/README.md b/README.md index de774d06a..0bd0cb88f 100644 --- a/README.md +++ b/README.md @@ -82,18 +82,29 @@ There are also many other options that can be changed in conf_general.h ### On Ubuntu -Install the gcc-arm-embedded toolchain - - +Install the gcc-arm-embedded toolchain. Recommended version ```gcc-arm-none-eabi-7-2018-q2``` + +**Method 1 - Through Official GNU Arm Embedded Toolchain Downloads** +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) +2. Locate and Download version **gcc-arm-none-eabi-7-2018-q2** for your machine + ```GNU Arm Embedded Toolchain: 7-2018-q2-update June 27, 2018``` + 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) +3. Unpack the archive in the file manager by right-clicking on it and select "extract here" +4. Change directory to the unpacked folder, unpack it in /usr/local by execute the following command + ``` + cd gcc-arm-none-eabi-7-2018-q2-update-linux + sudo cp -RT gcc-arm-none-eabi-7-2018-q2-update/ /usr/local + ``` + +**Method 2 - Through apt install** ```bash sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa sudo apt update sudo apt install gcc-arm-embedded ``` -Add udev rules to use the stlink v2 programmer without being root - +**Optional - Add udev rules to use the stlink v2 programmer without being root** ```bash wget vedder.se/Temp/49-stlinkv2.rules sudo mv 49-stlinkv2.rules /etc/udev/rules.d/