ARM development on a linux machine

I would like to develop for the ARM microcontrollers, but I am currently running Gentoo on my laptop and most of the tools I’ve seen are for Windows. I just picked up the Olimex ARM-USB-OCD programmer and I have an LPC2103 board that I’ve been able to successfully tinker with using Keil’s uVision and a parallel port wiggler. However, my laptop is new enough that all it has is USB. Any suggestions / links to tutorials on how to start on linux?

suggestion: the YAGARTO IDE with GCC for Linux. Freeware.

The Gentoo way of installing an ARM cross compiler/debugger appears to be

emerge crossdev
crossdev --target arm-elf

I can’t test it right now. The harddisk on my Gentoo system has only 140MB left.

On top of that you probably want to emerge other tools from the dev-embedded category like openocd.

echo 'dev-embedded/openocd **' >>/etc/portage/package.keywords
echo 'dev-embedded/libftd2xx ~x86' >>/etc/portage/package.keywords
USE=ft2232 emerge openocd

The Eclipse package is called eclipse-sdk.

There is [a short Gentoo HOWTO that links to other documents, but most of the stuff described in those texts assumes you want to run Linux on your ARM.

Tutorials on using the tools (in Windows) can be found here:

http://gnuarm.alexthegeek.com/

A tool to flash the chip can be found in this Yahoo group:

http://tech.groups.yahoo.com/group/lpc21isp/

This GUI tool might work as well:

http://www.pjrc.com/arm/lpc2k_pgm/](http://gentoo-wiki.com/HOWTO_Cross_Compile)