http://www.ethernut.de/nutwiki/index.php?title=Documents/Win_Eclipse&feed=atom&action=historyDocuments/Win Eclipse - Revision history2024-03-29T06:55:26ZRevision history for this page on the wikiMediaWiki 1.26.2http://www.ethernut.de/nutwiki/index.php?title=Documents/Win_Eclipse&diff=370&oldid=prevHarald: Created page with "<div id="content"> = Using Eclipse with Nut/OS on Linux = == Requirements == This is work in progress and for ARM target boards only. It is assumed that you already instal..."2017-07-13T08:34:38Z<p>Created page with "<div id="content"> = Using Eclipse with Nut/OS on Linux = == Requirements == This is work in progress and for ARM target boards only. It is assumed that you already instal..."</p>
<p><b>New page</b></p><div><div id="content"><br />
<br />
= Using Eclipse with Nut/OS on Linux =<br />
<br />
== Requirements ==<br />
<br />
This is work in progress and for ARM target boards only.<br />
<br />
It is assumed that you already installed Yagarto with Eclipse IDE and Nut/OS.<br />
<br />
== Creating An Eclipse Project ==<br />
<br />
Select '''Programs-&gt;YAGARTO IDE-&gt;Eclipse Platform 3.2''' from your Windows start menu.<br />
<br />
If started for the first time, the welcome screen will appear.<br />
<br />
[[File:../../img/eclipse-win01.png|Language Selection]]<br /><br />
<br />
Click on '''Workbench'''. If Eclipse didn't start with the welcome screen, then select '''Switch Workspace''' from the file menu.<br />
<br />
This will bring up the Workspace Launcher Dialog.<br />
<br />
[[File:../../img/eclipse-win02.png|Language Selection]]<br /><br />
<br />
You may choose any directory. Eclipse will store all workspace settings in this place.<br />
<br />
Click OK to return to the Eclipse main window, which shows the Resource Perspective.<br />
<br />
We will use Eclipse for the C language and should activate the C/C++ Perspective. Select '''Open Perspective-&gt;Other''' from the Window menu.<br />
<br />
[[File:../../img/eclipse-win03.png|Language Selection]]<br /><br />
<br />
Select the C/C++ Perspective and click OK.<br />
<br />
[[File:../../img/eclipse-win04.png|Language Selection]]<br /><br />
<br />
The Resource Perspective is not needed for C developments. Click on the Resource Tab with the right mouse button and select '''Close''' from the context menu.<br />
<br />
[[File:../../img/eclipse-win05.png|Language Selection]]<br /><br />
<br />
We will now create a new project. Select '''New-&gt;Standard Make C Project''' on the file menu.<br />
<br />
[[File:../../img/eclipse-win06.png|Language Selection]]<br /><br />
<br />
The New Project Dialog appears.<br />
<br />
[[File:../../img/eclipse-win06a.png|Language Selection]]<br /><br />
<br />
Enter the project name '''httpd'''.<br />
<br />
Instead of using the default loaction, we need to set the path to the Nut/OS application sample directory. Otherwise the relative paths used in the Nut/OS Makefiles won't work correctly.<br />
<br />
You can use the '''Browse''' button to navigate to the directory that contains the httpd sources.<br />
<br />
Click on the '''Next''' button to move to the '''C/Make Project Settings''' and then click on the '''Discovery Options''' Tab.<br />
<br />
[[File:../../img/eclipse-win07.png|Language Selection]]<br /><br />
<br />
On this page we need to enter the correct '''Compiler invocation command'''. You can use the '''Browse''' button, navigate to the YAGARTO bin folder and select '''arm-elf-gcc.exe'''.<br />
<br />
Click '''Finish''' to return to the Eclipse main window.<br />
<br />
[[File:../../img/eclipse-win08.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win09.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win10.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win11.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win12.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win13.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win14.png|Language Selection]]<br /><br />
[[File:../../img/eclipse-win15.png|Language Selection]]<br /><br />
<br /><br />
<br /><br />
<br />
Good luck,<br /><br />
Harald Kipp<br /><br />
Castrop-Rauxel, 18th of October 2006<br />
<br />
<br />
</div></div>Harald