Added support for ATmega1280, fixed compatability for current GCC.

Added flashtool to write to EEPROM. .text section size currently
slightly over 2KB.