Setting up a windows machine for compiling the firmware

From Kreyos
Jump to: navigation, search

Step by step instructions to setup software to compile the Kreyos Meteor firmware.

Prerequisites

Java JRE

Skip this if you have already a running Java JRE on your machine. Install the appropriate Java JRE version. I'm using the 64-Bit on my Windows7-64.

MinGW Installer

Follow the link MinGW Installer and choose mingw-get-setup.exe.

Start the installer and choose the following:

Mingw-installer-01.png

I installed everything under C:\Projekte\Kreyos so MinGW goes to C:\Projekte\Kreyos\MinGW Press continue until the installation finishes.

After the MinGW Installation Manager starts select "All Packages"

Mingw-installer-02.png

Mark "MSYS->msys-bash (bin)" and "MSYS->msys-make (bin)" for installation. This will trigger some other packages for installation which is ok.

Mingw-installer-03.png

Select "Installation->Apply Changes" and "Apply".

After these steps it is very important to add the binary path of the MSYS package to your PATH environment variable. I did it the following way:

Mingw-installer-04.png

Eclipse CDT

Download Eclipse CDT and extract it. I'm using C:\Projekte\Kreyos\Eclipse as destination folder.

IAR MSP430 Compiler

Download IAR MSP430 Compiler. This is a commercial compiler and you have to register with IAR. Follow the installation instruction. I only installed the Workbench, no drivers and stuff.

Msp430-installer-01.png