AVR Toolchain Installer

AVR is a microcontroller family produced by Atmel. GNU GCC supports code generation for them, so it is possible to develop code using C language and free GPL tools. However, before starting, you need the toolchain (gcc compiler, libc, etc...) correctly configured and compiled for AVR target. WinAVR exists on Windows for this reason: a collection of all the tools you need to start developing using GPL tools.

On Linux, some distributions offer the AVR toolchain already integrated, but supplied tools are usually not quite up to date. Installing the AVR toolchain by hand under Linux and others UNIX-like OS could be quite annoying: it requires downloading at least 3 different tools (binutils, gcc, avr-libc) from different sources, patch some of them and compile them using the appropriate configure options. Such tweaks are quite easy to do... once you have spent a lot of time trying to understand what to do.

Each time I have tried to install the AVR toolchain on a new workstation, I have spent most of the time trying to recall what I had to do. Finally, I decided to create this simple script that do all the required job for you. Around the Internet there are a few scripts like this, but none of them is up to date, nor simple to use as this one.

Features:

Download

Version 20080514 contains:

AVR Toolchain Changelog

For each release there are 2 packages:

Version

Full version

Light version

WinAVR aligment

Notes

20080514

tar.bz2 (58M)

tar.bz2 (72K)

20071221

There's a bug in floating point code generation that cause final executable to use 256 more RAM bytes (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29524)

20070905

tar.bz2 (52M)

tar.bz2 (71K)

20070525

none

Old versions

Installation

Just download the tar archive, untar and run:

./avr-install.sh <build_dir> <install_dir>

The script takes 2 parameters:

Author

Francesco Sacchi <batt-nospam@develer.com>, sponsored by Develer s.r.l.

Please feel free to report script bugs and patches to my email address!

Credits

Daniele Basile <asterix-nospam@develer.com> - Mac OS X tweaks

Stefano Fedrigo <aleph-nospam@develer.com> - Bash scripting tweaks

WinAVR http://sourceforge.net/projects/winavr/

Licenses

This script is distributed under the GNU GPL License.

GNU Binutils is distributed under the GNU GPL License.

GNU Compiler Collection (GCC) is distributed under the GNU GPL License.

avr-libc is distributed under a BSD License.

avrdude is distributed under the GNU GPL License

DevelerOss: AvrToolchain (last edited 2008-06-21 07:33:43 by FrancescoSacchi)