This is an old revision of the document!
GCC ARM
This is is pre-built compiler tool chain for various platforms cross-compiling for various ARM targets.
Linux
Newer distributions contain this tool
sudo apt-get install gcc-arm-none-eabi gdb-multiarch
Otherwise download the last known release from here.
Issues
Rpi
Older toolchains (Eg. 7-2018-q2-6) don't build binaries for some modern devices, Eg. STM32U5 so needs to be upgraded manually.
apt remove gcc-arm-none-eabi wget https://github.com/vanbwodonk/gcc-arm-embedded-build-armhf/releases/download/9-2019-q4-major/gcc-arm-none-eabi-9-2020-q1-update-armv7l-linux.tar.bz2 tar -xvf gcc-arm-none-eabi-9-2020-q1-update-armv7l-linux.tar.bz2 sudo cp -r gcc-arm-none-eabi-9-2020-q1-update/* /usr/ sudo rm -r gcc-arm-none-eabi-9-2020-q1-update