AVR Programming on R-Pi

Moderators: adafruit_support_bill, adafruit

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/
Locked
mudkip177
 
Posts: 2
Joined: Tue Oct 09, 2012 1:15 pm

AVR Programming on R-Pi

Post by mudkip177 »

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

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: AVR Programming on R-Pi

Post by westfw »

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

mudkip177
 
Posts: 2
Joined: Tue Oct 09, 2012 1:15 pm

Re: AVR Programming on R-Pi

Post by mudkip177 »

That sounds like the voice of experience. TY for the advice -- BinBR

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: AVR Programming on R-Pi

Post by westfw »

(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

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”