AVR Programming on R-Pi

Talk about Adafruit Raspberry Pi® accessories!

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/

AVR Programming on R-Pi

Postby mudkip177 » 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

Postby westfw » 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: 1321
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area

Re: AVR Programming on R-Pi

Postby mudkip177 » 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

Postby westfw » 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: 1321
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area


Return to Adafruit Raspberry Pi® accessories

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]