Cross compiling source for STM32Fx on Linux – installing arm GCC

Disclosure: This post may contain affiliate links, meaning I get a commission if you decide to make a purchase through my links, at no cost to you.

By | September 16, 2016

In order to cross compile code for the STM32 series of microcontrollers it is necessary to have the gnu arm gcc toolchain installed. In Particular we will need the gcc-arm-none-eabi tools. On ubuntu you can install it by executing

sudo apt-get install gcc-arm-none-eabi

Thats it. I used version 4.9. for all my tutorials. Windows users can install the gcc-arm-none-eabi toolchain as well, search the arm gcc website for the installer exe.

Leave a Reply

Your email address will not be published. Required fields are marked *