I attempted to do so based on how I added support for the ATmega328PB (using this guide https://gist.github.com/goncalor...) but I've ran into an issue. I tried to compile a test program and this is the error that I got:
avr-gcc -g -Os -mmcu=avr64da28 -c main.c avr-gcc: error: device-specs/specs-avr64da28: No such file or directory make: *** [makefile:12: main.o] Error 1
I put the device-specs/specs-avr64da28 in the avr/lib directory but still the above error.
Here is my io.h entry:
#elif defined (__AVR_AVR64DA28__) # include <avr/ioavr64da28.h>
I placed the crtavr64da28.o and libavr64da28.a files in the avr/lib/avrxmega2 directory.
I placed the ioavr64da28.h file in the avr/include/avr directory.
gcc version is 5.4.0
OS is Linux Mint 20.