User Tools

Site Tools


doc:dev_setupfirmware

This is an old revision of the document!


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:

  1. install Virtualbox (4.1.8) (tested on Host-OS Windows 7, 64bit)
  2. install Fedora 16 netinst (32 or 64bit, depending on your Host-OS)
  3. install Virtualbox Guest Additions

Set up Eclipse

  1. install Eclipse Classic (3.7.1, Indigo) (Linux, 32bit) 64bit version of Eclipse didn't work)
  2. add the CDT Plugin (C/C++ IDE) into Eclipse (http://download.eclipse.org/tools/cdt/releases/indigo)
  3. add the CDT GNU ARM Toolchain into Eclipse (http://gnuarmeclipse.sourceforge.net/updates)
  4. 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)
  5. 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
  • .settings Check 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

  • .metadata It 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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
doc/dev_setupfirmware.1393307492.txt.gz · Last modified: 2014/02/25 06:51 (external edit)