Skip to content

Instantly share code, notes, and snippets.

@coldnew
Forked from njtbot/gist:9758296
Last active August 29, 2015 14:15
Show Gist options
  • Save coldnew/515477e2d753327e6794 to your computer and use it in GitHub Desktop.
Save coldnew/515477e2d753327e6794 to your computer and use it in GitHub Desktop.
# gcc-4.8
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew install openocd
openocd --version # homebrew release of openocd supports most jtag adapters (ie stlink2)
wget "https://launchpad.net/gcc-arm-embedded/4.8/4.8-2013-q4-major/+download/gcc-arm-none-eabi-4_8-2013q4-20131218-mac.tar.bz2"
cd ~/Downloads
tar -xzvf gcc-arm-none-eabi-4_8-2013q4-20131218-mac.tar.bz2
sudo cp -R gcc-arm-none-eabi-4_8-2013q4 /usr/local/
/usr/local/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc --version # test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment