AVR Setup for Mac outdated

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
sockbot
 
Posts: 13
Joined: Sun Jul 27, 2014 1:58 am

AVR Setup for Mac outdated

Post by sockbot »

I'm getting stuck on Step 4 of the AVR Tools tutorial:

Step 4. Download and install avr-libc (an essential C library for AVR chips)

http://www.ladyada.net/learn/avr/setup-mac.html

Steps 1-3 work fine but the make of avr-libc fails with:

Code: Select all

/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s: Assembler messages:
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:73: Error: illegal opcode elpm for mcu avrtiny
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:75: Error: register not supported
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:76: Error: register not supported
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:87: Error: illegal opcode elpm for mcu avrtiny
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:89: Error: register not supported
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:90: Error: register not supported
make[5]: *** [asctime_r.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Can someone provide updated instructions on how to get this to work on Mac so I can program the minipov3?

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: AVR Setup for Mac outdated

Post by adafruit2 »

goodness that tutorial is old, can you try installing crosspack?
https://www.obdev.at/products/crosspack/download.html

User avatar
sockbot
 
Posts: 13
Joined: Sun Jul 27, 2014 1:58 am

Re: AVR Setup for Mac outdated

Post by sockbot »

Yes, I was able to get past that part of the instructions. Is the libc section actually part of the compiling option?

If so, then I'm now stuck on downloading the minipov3 firmware. The link in the tutorial goes to the PL2303 driver page.

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: AVR Setup for Mac outdated

Post by adafruit2 »


Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”