avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] avr/boot.h: poisoned SPMCR for ATmega128


From: uracolix
Subject: [avr-libc-dev] avr/boot.h: poisoned SPMCR for ATmega128
Date: Sat, 05 May 2012 16:50:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

Hallo list,

I recently stumbled across the following error with avr-libc 1.8.0.

--------------------------------------------
$ cat foo.c
#include <avr/version.h>
#include <avr/boot.h>

$ avr-gcc -c  -mmcu=atmega128 foo.c
In file included from foo.c:2:0:
/home/myavrtools/avr-gcc470/lib/gcc/avr/4.7.0/../../../../avr/include/avr/boot.h:112:16: error: attempt to use poisoned "SPMCR"

$ avr-gcc -c  -mmcu=atmega1281 foo.c
--------------------------------------------
For atmega1281 it works with no error.

My compiler is either avr-gcc 4.5.1 or 4.7.0, both compilers use
avr-libc 1.8.0

Thanks for any help, Axel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]