Difference between revisions of "Compiling the firmware with Eclipse"

From Kreyos
Jump to: navigation, search
 
Line 1: Line 1:
 
After we setup the machine and imported the firmware into Eclipse we could use Eclipse to build it.
 
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: <code>'''C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4 Evaluation\430'''<\code>.
+
Edit the Makefile.msp430 to change the installation directory from the IAR compiler. The installation directory on my machine is: <code>'''C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4 Evaluation\430'''</code>.
  
 
[[File:compiling-the-sources-09.png]]
 
[[File:compiling-the-sources-09.png]]

Latest revision as of 08:44, 16 October 2014

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