This repository contains the GNU AVR Toolchain as formulae for Homebrew.
AVR is a popular family of micro-controllers, used for example in the Arduino project.
gcc 8.3.0
binutils 2.32
avr-libc 2.0.0
gdb 8.1.1
Other GCC versions available:
7.4.0
6.5.0
5.5.0
4.9.4
First, make sure you have xcode command line developer tools installed with
$ xcode-select --install
Then, just run the following to install the latest version of avr-gcc
:
$ brew tap osx-cross/avr
$ brew install avr-gcc
If you want to install an older version:
$ brew install avr-gcc@X
Where X
being the version number such as avr-gcc@6
Note: only the latest version will be available in your $PATH
. The older ones are keg-only
and thus won't be availble in /usr/local/bin
.
You can run brew info avr-gcc
for more information on the flags available.
brew info avr-gcc
, brew help
, man brew
, or the Homebrew wiki.
This repository is based on the works of: