Created
March 25, 2014 09:48
-
-
Save njtbot/9758296 to your computer and use it in GitHub Desktop.
STM32 toolchain for OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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