On Sun, Oct 17, 2021 at 12:15 PM Tomasz CEDRO wrote:
>
> On Sun, Oct 17, 2021 at 2:15 AM Gregory Nutt wrote:
> >
> > Those are pretty old.  These are old too:
> > http://ww1.microchip.com/downloads/archive/avr32-gnu-toolchain-3.4.0.332-source.zip
> >
> > There are even old sources here:
> > https://www.microchip.com/en-us/development-tools-tools-and-software/avr-and-sam-downloads-archive
> >
> > There slightly newer gcc-avr32 RPMs available for various Linux
> > distributions (like *gcc*-*avr32*-linux-gnu-4.8.5-16.el7.1.x86_64.rpm for
> > CentOS 7).  Maybe a source RPM could be modified?
>
> On FreeBSD we have these system packages available from the list
> below. All packages are built from sources in automated way (these are
> called Ports) and available as binary packaged with `pkg` utility, but
> still you can build everything from the sources from scratch. There
> are no binary blobs here, except firmware files for some dongles.
>
> Ity be safe to assume they are updated regularly. May add to common
> denominator of the Open-Source toolchain for AVR :-)
>
> % pkg search -x avr
> arduino-avrdude-6.3_3          Program for programming the on-chip
> memory of Atmel AVR Arduino CPUs
> avr-binutils-2.37_1,1          GNU binary tools
> avr-gcc-10.2.0                 FSF GCC for Atmel AVR 8-bit RISC
> cross-development
> avr-gdb-7.3.1_6                GNU GDB for the AVR target
> avr-libc-2.0.0_4,1             C and math library for the Atmel AVR
> controller family
> avra-1.4.2                     Macro Assembler for Atmel AVR microcontrollers
> avrdude-6.3_3                  Program for programming the on-chip
> memory of Atmel AVR CPUs
> avro-1.10.2                    Data serialization system
> avro-c-1.10.2                  C library for Apache Avro
> avro-cpp-1.10.2                C++ library for Apache Avro
> libpololu-avr-151002_1         Support libraries for Pololu robots
> simavr-1.7_1                   Simulator for several Atmel AVR chips

Ah, you can check the Port details at www.freshports.org and sources
at cgit.freebsd.org, where they are fetched from, how they are built,
what patches are applied, etc. I used them loong time ago, also the
MCS51 tools. When I am done with setting up NuttX and ESP32-C3 /
RISC-V I will try the AVR, ARM, I have some bunch of the boards, and I
have ATTiny10 purchased for some project but it has only 1K Flash so
pure assembly needs to be used for this one :-)

For instance here are port information:

https://www.freshports.org/devel/avr-gcc/

Here is the GIT repository with sources:

https://cgit.freebsd.org/ports/tree/

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to