The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

AVR Programming on R-Pi

by mudkip177 on Tue Oct 09, 2012 12:33 pm

I've been kicking around micros for about a year. I got a Raspberry Pi and eventually settled on the goal of using the Pi to program AVR micros. I've been playing with them using Programmer's Notebook and AVRDude in XP. I got the Pi setup using your micro wifi dongle (worked plug and play using the 9/18 wheezy dist from here: http://www.raspberrypi.org/downloads) and it looks really cool in your acrylic box. So now I'm following this tutorial, http://www.ladyada.net/learn/avr/setup-unix.html, to set up gcc & avrdude on my Pi. Got to the point where I'm running make on the gcc download only to learn I'm missing links and files. I'm more then happy and stubborn enough to bulldog my way through the errors but what I'd like to know is this: Do I have a hope of making this happen or am I asking too much of my littl-ole Pi? I'd appreciate the guidance & TY for the help -- Bob in Baton Rouge
mudkip177
 
Posts: 2
Joined: Tue Oct 09, 2012 12:15 pm

Re: AVR Programming on R-Pi

by westfw on Tue Oct 09, 2012 7:40 pm

In my experience (which does NOT include RPi), building a cross compiler from source involves quite a lot of "bulldog your way through", if your host system is out-of-the-ordinary in any way. (and a RPi is not ordinary...)
User avatar
westfw
 
Posts: 1373
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area

Re: AVR Programming on R-Pi

by mudkip177 on Fri Oct 12, 2012 12:36 pm

That sounds like the voice of experience. TY for the advice -- BinBR
mudkip177
 
Posts: 2
Joined: Tue Oct 09, 2012 12:15 pm

Re: AVR Programming on R-Pi

by westfw on Fri Oct 12, 2012 9:45 pm

(actually, I think the Lady Ada/Leah Buchley tutorial on building gcc was one of the ones that turned out to be particularly useful.)
http://www.ladyada.net/learn/avr/setup-unix.html
Also http://wiki.osdev.org/GCC_Cross-Compiler
User avatar
westfw
 
Posts: 1373
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area