Avr-libc supports it. However, you probably need to update the other parts
of your toolchain, binutils and gcc, with patches to support that device.

If you're building your own toolchain, then you go to the FreeBSD Ports
website, 
<http://www.freebsd.org/ports/>
and grab a patch for GCC 3.4.6 to add support for a bunch of new devices
here:
<http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files/>

You'll have to grab the similar patch for binutils as well:
<http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-binutils/files/>


I'm not sure who are the regular maintainers on various Linux distros.


Also, please subscribe to the list, so I don't have to keep approving your
emails. Thanks.

Eric

> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Javier Almansa Sobrino
> Sent: Wednesday, August 02, 2006 1:31 PM
> To: [email protected]
> Subject: Re: [avr-libc-dev] ¿at90usb1287?
> 
> hmmmmmm
> 
> And what mcu I must define into the Makefile? I've selected 
> mmcu=at90usb1287, but when I execute make I obtain this output:
> 
> [EMAIL PROTECTED]:~/Proyectos/Pimball/src$ make
> avr-gcc -g -mmcu=at90usb1287 -Wall -Wstrict-prototypes  -Os 
> -c prueba.c
> unknown MCU `at90usb1287' specified
> Known MCU names:
>    avr2
>    at90s2313
>    at90s2323
>    at90s2333
>    at90s2343
>    attiny22
>    attiny26
>    at90s4414
>    at90s4433
>    at90s4434
>    at90s8515
>    at90c8534
>    at90s8535
>    at86rf401
>    avr3
>    atmega103
>    atmega603
>    at43usb320
>    at43usb355
>    at76c711
>    avr4
>    atmega8
>    atmega48
>    atmega88
>    atmega8515
>    atmega8535
>    attiny13
>    attiny2313
>    avr5
>    atmega16
>    atmega161
>    atmega162
>    atmega163
>    atmega165
>    atmega168
>    atmega169
>    atmega32
>    atmega323
>    atmega325
>    atmega3250
>    atmega64
>    atmega645
>    atmega6450
>    atmega128
>    at90can128
>    at94k
>    avr1
>    at90s1200
>    attiny11
>    attiny12
>    attiny15
>    attiny28
> prueba.c:0: error: MCU `at90usb1287' supported for assembler only
> In file included from potencia.h:12,
>                  from prueba.c:1:
> /usr/lib/gcc/avr/3.4.3/../../../../avr/include/avr/io.h:324:6:
>  warning:
> #warning "device type not defined"
> 
> the options I give to avr-gcc:
> 
> MCU=at90usb1287
> CFLAGS=-g -mmcu=$(MCU) -Wall -Wstrict-prototypes
> 
> thanks
> -- 
> El Software es como el sexo:
> Solo mola cuando se hace libremente ;-)
> 
> 
> _______________________________________________
> AVR-libc-dev mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
> 



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to