The latest device packs (1.4.xxx) aren't correct for the MEGA808. When I compile this code:
#include <avr/io.h> uint8_t GlobalByteVar; main() { while(1) { GlobalByteVar = PORTA_IN; } }
I get this error from the linker:
address 0x803c01 of GccApplication11.elf section `.bss' is not within region `data'
Older device packs don't support the 808.
Any suggestions for linker settings, or device-pack edits to get this to compile?
Edit: This might belong in the Atmel Studio forum.