This page is is part of my embedded system notes.

ODeV Notes

Contents

Introduction

ODeV is a project to configure Eclipse to compile C/C++ code for embedded ARM microcontrollers. These are my notes on the topic:

The main ODeV web site is:

http://www.stf12.org/developers/ODeV.html

Installing Eclipse

Eclipse is a cross platform software development environment:

http://en.wikipedia.org/wiki/Eclipse_(software)
that runs on Windows, MacOS, and Linux. The main web site is:
http://eclipse.org/
Eclipse appears to be released once a year in June. Each release is given a name -- Galileo (2009), Helios (2010), Indigo (2011), etc.

I attempted to install exclipse from Ubuntu packages. Unfortunately, I was running Ubuntu 10.4 (Long Term Support) and the available packages only provided the Galilio release of Eclipse. This is a little dated so I had to uninstall it.

Instead, I went to the Eclipse downloads page:

http://www.eclipse.org/downloads/
and I downloaded the "Eclipse IDE for C/C++ Devlopers (includes Incubating components)":
    cd somewhere
    mkdir eclipse
    cd eclipse
    wget http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-modeling-indigo-SR2-linux-gtk.tar.gz
    gunzip -c eclipse-modeling-indigo-SR2-linux-gtk.tar.gz | tar xvf -
    mv eclipse eclipse-indigo					
After I put eclipse into my path, I was able to fire it up:
    export PATH=$PATH:somewhere/eclipse/eclipse-indigo/eclipse
    eclipse							

Installing the Cross Compiler

There is actually a movie that shows the steps involved in installing the cross compiler:

http://www.stf12.org/developers/odev-eclipse-configuration-movie.html
The GnuARM stuff comes from:
http://gnuarmeclipse.sourceforge.net/updates
Everything else comes from the Eclipse plug-ins stuff. When the SVN repository is specified:
http://stf12.googlecode.com/svn/
It will ask to create a master repository with passwords and password recovery the first time through.

Installing Everything Else

The documentation gets thinner now.

  1. In SVN repository under http://stf12.googlecode.com/svn/, open "trunk".
  2. Open "mCORTEX_STM32F103".
  3. Right click right click with mouse and select [Check Out].
  4. Open "Source". It should look like the page in the documentation.

[Project] => [Build Project] builds the project. There is supposed to be a way to see the build console of the make run, but I have not figured it out yet.

In the SVN prepostitory, check out "OpenOCD". This will download all the OpenOCD stuff.


Copyright © 2012 by Wayne C. Gramlich All rights reserved.