Build-script for bare metal ARM toolchain - based on esden:s branch
Shell
Latest commit a01475b Jan 9, 2014 @vedderb Merge pull request #2 from master-q/fix/colophon
Fix bug binutils fails to build due to 'colophon' and 'cygnus'
Permalink
Failed to load latest commit information.
patches
README.md
summon-arm-toolchain

README.md

Based on https://github.com/esden/summon-arm-toolchain

I have made the following changes:

  • Set the default flags so that everything builds on my system
  • Updated Linaro GCC to version 4.8-2013.07-1
  • Updated Linaro GDB to version 7.6-2013.05
  • Updated newlib to version 2.0.0
  • Build the master branch of openocd (for STM32F4 support)
  • Added st-link support to the openocd build flags
  • Added support for tar.xz archive files
  • Removed unused code and patches
  • Adapted the gcc-t-arm patch for gcc 4.8
  • And a few other small changes

Usage on debian-based linux distributions (e.g. Ubuntu):

  1. Install dependencies sudo apt-get install build-essential git flex bison libgmp3-dev libmpfr-dev libncurses5-dev libmpc-dev autoconf texinfo libtool libftdi-dev libusb-1.0-0-dev zlib1g zlib1g-dev python-yaml

  2. Run the script ./summon-arm-toolchain

  3. (Optional) add to path sudo su echo 'export PATH=/home/YOUR_USER/sat/bin:$PATH' > /etc/profile.d/arm_tools.sh exit

  4. Done!

Also, see:

http://vedder.se/2012/07/get-started-with-stm32f4-on-ubuntu-linux/

for a complete tutorial