How to build ARM mbed projects on GNU Tools (offline)

  • GNU Tools for ARM Embedded Processor
    https://launchpad.net/gcc-arm-embedded

  • Download GNU Tools on GNU Tools page
    https://launchpad.net/gcc-arm-embedded/+download

    • relsase.txt – release notes
    • win32/ win64 – windows installer
    • linux – linux installation
    • mac – MAC installation
    • How-to-build-tolchain.pdf – how to build
    • readme.txt
    • license.txt
  • Uncompress tar file
    tar xvf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2

  • make /usr/local/arm, /arm/ is the custom software folder
    mkdir /usr/local/arm

  • Move gcc-arm-none-eabi-4_7-2013q3 to /usr/loack/arm
    sudo mv gcc-arm-none-eabi-4_7-2013q3 /usr/local/arm

  • Add path to existing shell, and apply
    vi ~/.bashrc
    export PATH=/usr/loacl/arm/gcc-arm-none-eabi-4_7-2013q3/bin:$PATH
    source ~/.bashrc

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s