diff --git a/arm-none-eabi-gcc.rb b/arm-none-eabi-gcc.rb new file mode 100644 index 0000000..226edbf --- /dev/null +++ b/arm-none-eabi-gcc.rb @@ -0,0 +1,12 @@ +class ArmNoneEabiGcc < Formula + # https://github.com/nitsky/homebrew-stm32/blob/master/arm-none-eabi-gcc.rb + desc "GCC for embedded ARM processors" + homepage "https://launchpad.net/gcc-arm-embedded" + url "https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-mac.tar.bz2" + version "20150921" + sha256 "a6353db31face60c2091c2c84c902fc4d566decd1aa04884cd822c383d13c9fa" + + def install + cp_r ["arm-none-eabi", "bin", "lib", "share"], "#{prefix}/" + end +end