Setup instructions for AVR MCU development tools on Mac OSX.
Homebrew is a package manager for Mac OSX
If you already have Homebrew skip this part or take a moment to update Homebrew with $
brew update
- Install Homebrew
$
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The AVR Libc toolchain contain these items :
-
avr-gcc (GCC compiler for AVR)
-
avr-libc (Standard C and usefull AVR Library)
-
avr-binutils (Tools to manipulate the generated binary files)
-
Tap the repository osx-cross/avr
$
brew tap osx-cross/avr
-
Install with
$
brew install avr-libc
-
Test the installation with
$
avr-gcc --help
The AVR DUDE is a software utility to download/upload/manipulate the ROM and EEPROM of an AVR Microcontoller.
- Install with
$
brew install avrdude --with-usb