Table of Contents

FIXME Elaborate and add details

Developing MIOS Apps with Eclipse

Overview

Eclipse IDE is a platform-independent development environment. However, you'll need a number of other tools that are not platform independent. You'll need GPUTILS and SDCC to compile for the PIC micro-controller. Please fallback to following guides depending on your platform to get the necessary installation informations:

Along with GPUTILS and SDCC we will install Eclipse IDE and the Eclipse C/C++ Development Tools (aka CDT). Finaly, we will install the EclipseSDCC plugin that integrates the open source Small Device C Compiler (SDCC) within the Eclipse/CDT.

WARNING Please note that EclipseSDCC is only compatible to Eclipse 3.1 yet. This means that you'll need a dedicated fresh 3.1 version in case you have a 3.3 for other uses. This page will be updated when a new version of the EclipseSDCC plugin will be available.

Install Eclipse IDE and CDT

Install EclipseSDCC plugin

tar xvzf net.sourceforge.eclipsesdcc-1.0.0-linux.gtk.x86.tar.gz
cd net.sourceforge.eclipsesdcc-1.0.0-linux.gtk.x86/
cp -R features/* /opt/eclipse-3.1.2/features/
cp -R plugins/* /opt/eclipse-3.1.2/plugins/

Now we are done with installation. We now have to configure Eclipse properly.

Configure Eclipse

Create a new project