Difference between revisions of "Compiling the firmware with Eclipse"
From Kreyos
(Created page with "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...") |
|||
| 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: C:\Program Files (x86)\ | + | 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]] | ||
| − | Then rename the 'Makefile' to 'Makefile.org' and 'Makefile.msp430' to 'Makefile' | + | Then rename the 'Makefile' to 'Makefile.org' and 'Makefile.msp430' to 'Makefile'. |
| + | |||
| + | [[File:compiling-the-sources-10.png]] | ||
| + | |||
| + | Now we can compile with the renamed Makefile . Use Ctrl+B or 'Project -> Build All'. | ||
| + | |||
| + | [[File:compiling-the-sources-11.png]] | ||
| + | |||
| + | At the end you should see something like this in your Eclipse Console: | ||
| + | |||
| + | [[File:compiling-the-sources-12.png]] | ||
Revision as of 02:45, 13 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<\code>.
Then rename the 'Makefile' to 'Makefile.org' and 'Makefile.msp430' to 'Makefile'.
Now we can compile with the renamed Makefile . Use Ctrl+B or 'Project -> Build All'.
At the end you should see something like this in your Eclipse Console:



