Compiling the firmware with Eclipse

From Kreyos
Jump to: navigation, search

After we setup the machine and imported the firmware into Eclipse we could use Eclipse to build it.

Edit the Makefile.msp430 to change the installation directory from the IAR compiler. The installation directory on my machine is: C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4 Evaluation\430.

Compiling-the-sources-09.png

Then rename the 'Makefile' to 'Makefile.org' and 'Makefile.msp430' to 'Makefile'.

Compiling-the-sources-10.png

Now we can compile with the renamed Makefile . Use Ctrl+B or 'Project -> Build All'.

Compiling-the-sources-11.png

At the end you should see something like this in your Eclipse Console:

Compiling-the-sources-12.png