HOWTO: Arduino 12 + ATmega328P + MacOSX

I'm not sure about the crossposting rules, but I just finished a rough tutorial on how to get the ATmega328p working in OSX and the Arduino 0012 release. My tutorial is based upon SolidSilver's [http://ladyada.net/forums/viewtopic.php?f=25&t=7605&p=37855#p37855] post on getting it working in Linux.

My post is on Lady Ada's forum at http://ladyada.net/forums/viewtopic.php?f=25&t=7668

... snip ...

If you want to avoid all of this, you can grab my prepackaged Arduino 0012 MacOSX package from:

http://www.alluvium.com/~extremis/arduino12.328p.osx.tbz

I also created a heavilly modified Arduino 0012 environment with support for the Sanguino, TouchShield, ATmega328P, 3pi Robot, and with a few other interesting preferences.

That version is available here:

http://www.alluvium.com/~extremis/arduino12.osx.tbz

Thanks! I've got a 328 on order and hope to try it out soon.

-j

I have also created an archive of just the hardware/tools/avr directory:

http://www.alluvium.com/~extremis/avr.osx.tbz

And, I have created a new patch based on SolidSilver's patch:

http://www.alluvium.com/~extremis/Arduino328osx.diff

You can get away with using just these 2 files. Download both files, move the hardware/tools/avr directory out of the way, extract the avr.osx.tbz into hardware/tools, and patch the arduino-0012 directory with the .diff. Note: that using this method will result in one failed patch of the avrdude.conf file. Ignore this error and choose [n] when prompted

Hi, I installed your patched IDE but get this message when I compile a blank (or any other) sketch:

"could not find the compiler. avr-g++ is missing from you PATH. Please see readme.txt for more information"

I messed around for it awhile and couldn't make any progress. Any ideas?

could http://www.alluvium.com/~extremis/arduino12.328p.osx.tbz be made available as a universal binary format? unfortunately it's presently intel only.

The above is intel only but I've added a quick hack to get the 328p working on osx ppc to the thread at ladyada.net - http://ladyada.net/forums/viewtopic.php?f=25&t=7668

Arduino 0013, which should be out in a few days or so, will have support for the 328 built in. You'll just need to add it to the boards.txt file.