I've changed all the ports and timing files
I'm using the Atmega 2560 ...
I have the following error:
C:\..\..\Program Files\AVRlib/a2d.h:141: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2dIsComplete'
It compiles with your makefile , just not with settings in the AVR Studio ....
I wanted to try to compile it in the studio, because I'm not able to get debug values back over the JTAG interface properly....