Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails for ATxmega128A1 #46

Open
jpelletier opened this issue Mar 16, 2021 · 1 comment
Open

Compilation fails for ATxmega128A1 #46

jpelletier opened this issue Mar 16, 2021 · 1 comment

Comments

@jpelletier
Copy link

jpelletier commented Mar 16, 2021

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 ?

@physnoct
Copy link

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=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants