Crosscompiling Toolchain for ATMEL AVR microcontrollers

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

Name Changed
Comments for CrossToolchain:avr 4

Michal Suchanek

michals wrote about 1 year 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

kwk wrote about 1 year ago

Enabled ppc64le and aarch64 for Leap15 and Tumbleweed


Michal Suchanek

michals wrote about 1 year 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

escaner wrote 22 days 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