In my current project I ran out of space in a AT90PWM3B, so it was "easy" to replace with a AT90PWM316.
There are at least 2 problems:
1. avr-gcc allocates only 2 bytes per interrupt vector instead of 4 bytes, which is the needed size.
2. It seems the eeprom functions are handled on specific part named source files. The functions for the pwm316 are undefined.
Re 1. How do I set the compiler to allocate 4 byte interrupt vectors for the pwm316 ? I have seen _VECTOR_SIZE in the include file for a mega328, but that does not do the trick.
Re 2. I can define local functions in my project as a workaround, but it would be nice to have the EEPROM functions for the pwm316 included in the system like the rest.
I have used the newest direct buildsript from bingo ( big thanks )
I compiled it on Trisquel with no problems.
avr-gcc-4.9.1 w. avrlibc-1.8.1 , dude-6.1, gdb-7.8 & binutils 2.24