Bare Metal Micro

AVR Toolchain Installation

4. Install on OS X

The easiest way to get the AVR toolchain on OS X is to use MacPorts. If you don’t already have it installed, follow the installation instructions on the MacPorts website.

  1. Open a terminal window.
  2. Enter the following commands to install the required packages:
    sudo port selfupdate
    sudo port install avr-gcc avr-binutils avr-libc avr-gdb avrdude
  3. Installation of the toolchain on OS X is now complete.