This is an old revision of the document!
Table of Contents
Build the Firmware
System Setup
Installing the development environment on a Virtual maschine
In case it is wanted to have the development environment in a virtual machine (which is optional), here are the steps:
- install Virtualbox (4.1.8) (tested on Host-OS Windows 7, 64bit)
- install Fedora 16 netinst (32 or 64bit, depending on your Host-OS)
- install Virtualbox Guest Additions
Set up Eclipse
- install Eclipse Classic (3.7.1, Indigo) (Linux, 32bit) 64bit version of Eclipse didn't work)
- add the CDT Plugin (C/C++ IDE) into Eclipse (http://download.eclipse.org/tools/cdt/releases/indigo)
- add the CDT GNU ARM Toolchain into Eclipse (http://gnuarmeclipse.sourceforge.net/updates)
- install CodeSourcery into Fedora (arm-2010.09-51-arm-none-eabi.bin ⇒ the latest version didn't work, this one does) (https://sourcery.mentor.com/sgpp/lite/arm/portal/package7815/public/arm-none-eabi/arm-2010.09-51-arm-none-eabi.bin)
- import the OOBD-Repository (oobd/trunk/interfaces/D2/Firmware_FreeRTOS) into Eclipse (File ⇒ Import ⇒ General ⇒ Existing Projects into Workspace)
Compiling
Use “Project/Build all” to compile and build. After that a new folder “debug” or “release” (depending on your build settings) should contain the binaries.
A small note, copied from http://digitaldumptruck.jotabout.com/?p=767
What Eclipse files to check in with a new project By Michael Portuesi | Published: November 17, 2010
This info is available elsewhere on the net, but I am including it here because I have to look it up every time and I’m tired of it. Check in
.project.classpath.settingsCheck in these files if you wish to share with the rest of the team:.settings/org.eclipse.jdt.ui.prefs– it contains the settings for the import ordering.settings/org.eclipse.jdt.core.prefs– it contains the settings for the compiler version
Do not check in
.metadataIt contains a bunch of state information for your Eclipse workspace, which is changing all the time.
When setting up the project on the new machine use File > Import … > General > Existing Project Into Workspace.
something about the STM32 Bootloader http://www.micromouseonline.com/blog/2009/05/07/stm32-arm-cortex-bootloader
