From 7a3d89aa22ba02c60412b94c58b8afa0f32d724c Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sat, 30 Jan 2016 19:16:19 -0800 Subject: [PATCH] arm-none-eabi-gcc --- arm-none-eabi-gcc.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arm-none-eabi-gcc.rb 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