Saturday, July 30, 2016

Cortex-M on Mac OS


Build Toolchain

Copy the src release package into ~/mac-build/ directory
$ cp gcc-arm-none-eabi-5_3-2016q1-20160330-src.tar.bz2 ~/mac-build 

Prepare source codes
$ cd ~/mac-build
$ tar xjf gcc-arm-none-eabi-5_3-2016q1-20160330-src.tar.bz2
$ cd ./gcc-arm-none-eabi-5_3-2016q1-20160330/src
$ find . -name '*.tar.*' | xargs -I% tar -xf %
$ cd ..
  • Build the toolchain
Start building the toolchain.
$ ./build-prerequisites.sh
$ ./build-toolchain.sh


Cortex-M Platform

[TTBD] TI, NXP, ?