Crosscompiling Toolchain for ATMEL AVR microcontrollers

Install avr-example.rpm to get all required packages automatically resolved.

Name Changed
Comments for CrossToolchain:avr 8

Michal Suchanek's avatar

michals wrote over 2 years ago

Hello,

can you build the packages for all supported architectures?

I suppose ppc has very few users in practice but aarch64 might be useful.

There is not go for armv7 so the arduino-builder will not build there, unfortunately.


Klaus Kämpf's avatar

kwk wrote over 2 years ago

Enabled ppc64le and aarch64 for Leap15 and Tumbleweed


Michal Suchanek's avatar

michals wrote over 2 years ago

You probably need some arch-specific projects for the packages to be resolvable.

The config of home:michals:arduino might be useful for reference.


Oscar Laborda's avatar

escaner wrote over 1 year ago

Hello. Since the last update of my Tumbleweed system I am getting linking errors. Looks like the libraries in cross-avr-gcc9 and avr-libc need updating. Using the ones from the official arduino IDE tarball seems to work. Thanks!

/usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: cannot find -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/lib64/gcc/avr/9/avr5/libgcc.a when searching for -lgcc /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/lib64/gcc/avr/9/libgcc.a when searching for -lgcc /usr/lib64/gcc/avr/9/ld: cannot find -lgcc /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/libm.a when searching for -lm /usr/lib64/gcc/avr/9/ld: cannot find -lm /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libc.a when searching for -lc /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/libc.a when searching for -lc /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libc.a when searching for -lc /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/libc.a when searching for -lc /usr/lib64/gcc/avr/9/ld: cannot find -lc /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libatmega328p.a when searching for -latmega328p /usr/lib64/gcc/avr/9/ld: skipping incompatible /usr/avr/sys-root/lib/avr5/libatmega328p.a when searching for -latmega328p /usr/lib64/gcc/avr/9/ld: cannot find -latmega328p


Jaap Geurts's avatar

thaloi wrote about 1 year ago

I have exactly the same problem. Not sure where else to report it. I also can't find anyone else with this problem. Not sure if this is specific to my system. Would be glad to offer help or logs.


Klaus Kämpf's avatar

kwk wrote about 1 year ago

I can confirm these problems, seeing the same on my machine. I need to dig deeper if this is a cross-gcc or an arduino bug.


Oscar Laborda's avatar

escaner wrote 9 months ago

Hello, where can we report problems/bugs on this repository? I have been having this issue for a long time on Tumbleweed 64bit and I found that it was already reported twice in the official bugzilla, but I don't think they ever got to the repository maintainers:

https://bugzilla.opensuse.org/show_bug.cgi?id=1095669 https://bugzilla.opensuse.org/show_bug.cgi?id=1095268


Michal Suchanek's avatar

michals wrote 9 months ago

Assign bug to package maintainer?