0

AVR Setup for Mac outdated
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

AVR Setup for Mac outdated

by sockbot on Sun Jan 10, 2016 4:42 am

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 | TOGGLE FULL SIZE
/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?

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

Re: AVR Setup for Mac outdated

by adafruit2 on Sun Jan 10, 2016 3:17 pm

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

adafruit2
Site Admin
 
Posts: 18053
Joined: Fri Mar 11, 2005 7:36 pm

Re: AVR Setup for Mac outdated

by sockbot on Sun Jan 10, 2016 8:39 pm

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.

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

Re: AVR Setup for Mac outdated

by adafruit2 on Sun Jan 10, 2016 9:54 pm


adafruit2
Site Admin
 
Posts: 18053
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.