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

_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to