avr-toolchain

AVR open source toolchain builds for Linux and Mac, including recent atpacks.

The toolchain includes avr-gdb and a patched avr-size binary that shows program and data usage relative to the target microcontroller. It also includes support for the new AVR series of microcontrollers, and updated libraries for the older ones.

Builds are generated using GitHub Actions infrastructure, using crosstool-ng.

avr-toolchain-202502151553

darwin-arm64

crosstool-NG configuration

[l...]   avr
    Languages       : C,C++
    OS              : bare-metal
    Binutils        : binutils-2.43.1
    Compiler        : gcc-14.2.0
    Linkers         :
    C library       : avr-libc-2.2.1
    Debug tools     : gdb-16.2
    Companion libs  : expat-2.6.4 gmp-6.3.0 isl-0.26 mpc-1.3.1 mpfr-4.2.1 ncurses-6.5 zlib-1.3.1 zstd-1.5.6
    Companion tools : m4-1.4.19

Patches

avr-libc-2.2.1

binutils-2.43.1

Additional Atmel Packs Installed

  • Atmel ATautomotive Series Device Support (2.0.214)
  • Atmel ATmega Series Device Support (2.2.509)
  • Atmel ATtiny Series Device Support (2.0.368)
  • Atmel AVR-Dx Series Device Support (2.6.303)
  • Atmel AVR-Ex Series Device Support (2.10.205)

linux-x86_64

crosstool-NG configuration

[l...]   avr
    Languages       : C,C++
    OS              : bare-metal
    Binutils        : binutils-2.43.1
    Compiler        : gcc-14.2.0
    Linkers         :
    C library       : avr-libc-2.2.1
    Debug tools     : gdb-16.2
    Companion libs  : expat-2.6.4 gmp-6.3.0 isl-0.26 mpc-1.3.1 mpfr-4.2.1 ncurses-6.5 zlib-1.3.1 zstd-1.5.6
    Companion tools :

Patches

avr-libc-2.2.1

binutils-2.43.1

Additional Atmel Packs Installed

  • Atmel ATautomotive Series Device Support (2.0.214)
  • Atmel ATmega Series Device Support (2.2.509)
  • Atmel ATtiny Series Device Support (2.0.368)
  • Atmel AVR-Dx Series Device Support (2.6.303)
  • Atmel AVR-Ex Series Device Support (2.10.205)