This folder contains a script that builds GNU ARM cross-toolchain from scratch.
Setup the complete environment (recommended).
cd ~/stm32
./setup-env.sh
Or directly build the GNU ARM cross-toolchain.
cd ~/stm32/build-ARM-toolchain
bash build.sh
export PATH=~/arm/bin:$PATH
cd ~stm32/examples/Template.mbed
make clean
make -j4
sudo make deploy