Valkertown Home

AVR Guide

Well the AVR family of micro controllers is probably my favorite, I really think it has a superior support of the gcc compiler, it even has support for c++ and ada languages(this sometimes breaks on some gcc versions so better not count on it) which is really uncommon for a 8bit architecture. The avr-libc while it's no the most complete it is developed by serious people and has a very good documentation generated using Doxygen.

One of the most outstanding features of the AVR tools is the fact that you can use a pretty simple(inexpensive) programmer for the micro controllers which makes it great for students sicne they won't waste any time on creating useless programmers that are needed for other uCs or have to use the expensive ones which they can't use at home or in general freely without fear of breaking something.

Ok now building a cross compiler tool chain is not a trivial task, and some how the details do matter in this process. While there are quite a lot of sources on this process also some scripts in the net, I decided that the spanish sources where somewhat lakin so I wrote them on my blog from my experience on creating/using the toolchain in Slackware. They are not complete and probably will get outdated quite fast (I urge my readers to poke me when they get outdated so I can update them) but this is an important thing to do and to provide for my coleagues and newbies in the area.

Crosscompiler tools:

All the below links are in spanish and taken from my blog which is obviously written in spanish.

Build tools:

I deprecated the use of make for the avr and started using scons, which is quite useful for this kind of projects, andeven bigger projects but its kinda slow compared to make. It's a trade between speed and convenience.

USB tool chain

These are from my work on avrs with usb engine, it was a very good experience.

© 2008-2010 Carlos A. Perilla | Based on original design by Andreas Viklund