I have some minimal experience working within the Arduino user interface, and since that's where all my understanding and existing mental schemas of programming have formed, I figured I'd tailor my toolchain to work with the Arduino compiler. This is also in hopes that later I may be able to find a visual programming interface, which will most likely be aimed at hobbiests using the most popular consumer-grade boards... Arduino.
Dan Chen's Embedded Programming page had some nice instructions on setting up an Arduino-based toolchain on Mac. After chasing down the links Dan provided, and doing some searching of my own, I found a message board that offered a simpler way to setting everything up.
The setup requires:
Hardware:
+ USB FTDI Cable
+ Atmel VRM ISP mk II
+ HelloWorld Board
Software
+ Arduino 1.6
+ Xcode
+ MacPorts
Once you have all of this installed, this command will take care of a ton of messy stuff all at once:
sudo port install avr-binutils avr-gcc avr-libc avrdude
This command installs:
+ AVR Binary Utilitiess (avr-binutils)
+ AVR GNU Compiler Collection (avr-gcc)
+ AVR Standard C Library (avr-libc)
+ AVRDUDE.
All of which you will need in order to use Arduino to program your chips.
After the script runs, you will need to download the ATtiny board managers into Arduino. I did this in two ways for redundancy.
1) Download these ATtiny Master board managers which were compiled on github.
Move the "attiny" folder to Documents > Arduino > Hardware >
Board managers can also be added via URLs in the Arduino settings:
2) Arduino > Preferences >
In the "Additional Boards Manager URLs" field input:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
With the board managers in place, you should now have ATtiny options under the arduino Tools menu.
Go to Tools > Board > Boards Manager:
This will give you a list of board suites to download and install. Don't go installing anything you're not planning on using. For this project we just need the ATtiny collection, which should be at the bottom of the list. Select it, and click install.
I'm using the ATtiny44, so my configuration looks like this: