arduino icon indicating copy to clipboard operation
arduino copied to clipboard

Compilation fails for ATxmega128A1

Open jpelletier opened this issue 3 years ago • 1 comments

I'm trying to compile a simple blink program for the board AVR XMEGA-A1 XPLAINED

It can't find crtatxmega128a1.o It can't find -lm, -lgcc -lc and -latxmega128a1

However, they are here: arduino-1.8.13/hardware/tool/avr/avr/lib/avrxmega7

Possibly caused by deleting previous version 0.9.1 ?

jpelletier avatar Mar 16 '21 04:03 jpelletier

It seems the AVR tools installed by Arduino don't support the ATxmega128A1. By using an already installed avr compiler (using apt) it compiles without any problem.

To do that, modify this file: /home/$USER/.arduino/packages/XMegaForArduino/hardware/avr/0.9.2/platform.txt Remove the path in this line #compiler.path={runtime.tools.avr-gcc.path}/bin/ compiler.path=

physnoct avatar Mar 11 '22 22:03 physnoct