Skip to content

Instantly share code, notes, and snippets.

@Aenohe
Last active August 30, 2015 17:02
Show Gist options
  • Save Aenohe/9cbb42ea09a1046eff81 to your computer and use it in GitHub Desktop.
Save Aenohe/9cbb42ea09a1046eff81 to your computer and use it in GitHub Desktop.
Program AVR Microcontrollers on Mac OSX

Program AVR Microcontrollers on Mac OSX

Setup instructions for AVR MCU development tools on Mac OSX.

Requirements

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)"

AVR Libc

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

AVR Dude

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

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment