Arduino

Arduino is an open source development platform using atmel microprocessors. This document describes how to use arduino boards on gentoo.

Prepare the toolchain
Because we need to compile code into binaries for another target platform (avr atmel microprocessors) we have to install an cross development toolchain. We need three parts (Versions depend on your installation): this can be tested with:
 * cross-avr/gcc-4.6.3
 * cross-avr/binutils-2.21.1
 * avr-libc-1.8.0

Install the toolchain using crossdev
Basic installation is out of the scope of this article. Please read the gentoo crossdev manual with special attention to the AVR section of the article.

Install non gentoo toolchain
Using the original Atmel AVR toolchain seems to be possible but not tested.

Using the debian precompiled toolchain is described there

Using arduino IDE
Will be continuied...

Using eclipse IDE
Will be continuied...

External resources

 * Gentoo Embedded Handbook for more information about embedded systems, cross compiling and other related topics.