<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ethernut.de/nutwiki/index.php?action=history&amp;feed=atom&amp;title=Documents%2FEclipse</id>
	<title>Documents/Eclipse - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ethernut.de/nutwiki/index.php?action=history&amp;feed=atom&amp;title=Documents%2FEclipse"/>
	<link rel="alternate" type="text/html" href="https://www.ethernut.de/nutwiki/index.php?title=Documents/Eclipse&amp;action=history"/>
	<updated>2026-10-29T13:50:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://www.ethernut.de/nutwiki/index.php?title=Documents/Eclipse&amp;diff=324&amp;oldid=prev</id>
		<title>Harald: Created page with &quot;&lt;div id=&quot;content&quot;&gt;  = Ethernut developement with Eclipse and openocd ( ARM only at the moment ) =  This document contains instuctions on installing Eclipse, its CDT plugin and...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.ethernut.de/nutwiki/index.php?title=Documents/Eclipse&amp;diff=324&amp;oldid=prev"/>
		<updated>2017-07-13T07:27:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;  = Ethernut developement with Eclipse and openocd ( ARM only at the moment ) =  This document contains instuctions on installing Eclipse, its CDT plugin and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Ethernut developement with Eclipse and openocd ( ARM only at the moment ) =&lt;br /&gt;
&lt;br /&gt;
This document contains instuctions on installing Eclipse, its CDT plugin and zylin&amp;#039;s Embedded CDT plugin. Installing [http://openocd.sourceforge.net/ OpenOCD] and finally building the Ethernut samples with Eclipse.&lt;br /&gt;
&lt;br /&gt;
== How to unpack archives: ==&lt;br /&gt;
&lt;br /&gt;
[archive].tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;coding&amp;quot;&amp;gt;$ gunzip &amp;amp;lt; [archive].tar.gz | tar xvf -&lt;br /&gt;
                   &amp;lt;/pre&amp;gt;&lt;br /&gt;
[archive].tar.bz2&lt;br /&gt;
&amp;lt;pre class=&amp;quot;coding&amp;quot;&amp;gt;$ bunzip2 &amp;amp;lt; [archive].tar.bz2 | tar xvf -&lt;br /&gt;
                   &amp;lt;/pre&amp;gt;&lt;br /&gt;
To start developement with eclipse set up Eclipse with zylin&amp;#039;s Embedded CDT plugin and import the projects from your enut30e-app directory. This is how it&amp;#039;s done.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Get Eclipse:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
At http://www.eclipse.org click on &amp;#039;Download Eclipse&amp;#039; then choose &amp;#039;Eclipse Classic&amp;#039;. Just unpack Eclipse. If no Java Runtime Environment since 1.5 is istalled get one or to make Eclipse able to run from USB-Stick unpack Java JRE into &amp;#039;[eclipse_root]/jre&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Get CDT plugin:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
At http://www.eclipse.org click on &amp;#039;Language IDE&amp;#039; there on the Disks after &amp;#039;C/C++ IDE&amp;#039;. Now on the link (http://download.eclipse.org/tools/cdt/releases/europa) then on &amp;#039;[version]([date])&amp;#039;, now choose a mirror. After download unzip &amp;#039;cdt-master-[version.zip]&amp;#039; into [eclipse_root].&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Get zylin&amp;#039;s Embedded CDT for Eclipse:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
At http://www.zylin.com go to &amp;#039;Products&amp;#039; and then to &amp;#039;Zylin Embedded CDT&amp;#039; there click on &amp;#039;Latest Snapshot&amp;#039; and get &amp;#039;zylincdt[version].zip&amp;#039; and &amp;#039;embeddedcdt[version]-linux-gtk.zip&amp;#039;. After download untar &amp;#039;zylincdt&amp;#039; and &amp;#039;embeddedcdt&amp;#039; into [eclipse_root] this adds the zylin plugin and the embeddedcdt plugin to Eclipse.&lt;br /&gt;
&lt;br /&gt;
== Install openocd: ==&lt;br /&gt;
&lt;br /&gt;
At http://developer.berlios.de/projects/openocd click on &amp;#039;view all project files&amp;#039; then on &amp;#039;openocd_[version]-src.tar.gz&amp;#039;. After download untar &amp;#039;openocd_[version]-src.tar.gz&amp;#039;, and read the README. following the README run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;coding&amp;quot;&amp;gt;$ ./bootstrap&lt;br /&gt;
           &amp;lt;/pre&amp;gt;&lt;br /&gt;
followed from the usual&lt;br /&gt;
&amp;lt;pre class=&amp;quot;coding&amp;quot;&amp;gt;$ ./configure&lt;br /&gt;
$ make&lt;br /&gt;
$ make install&lt;br /&gt;
           &amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Start openocd:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;coding&amp;quot;&amp;gt;$ openocd -f enut3ocd.cfg&lt;br /&gt;
                   &amp;lt;/pre&amp;gt;&lt;br /&gt;
I suggest you start openocd in an extra shell. In the case you have to end and restart openocd because it hangs, you can just abort it with crtl+c which is much easier and faster than kill the process.&lt;br /&gt;
== Open Examples into Eclipse: ==&lt;br /&gt;
&lt;br /&gt;
Click under &amp;#039;File&amp;#039; on &amp;#039;Import&amp;#039; there select &amp;#039;General&amp;#039; followed by &amp;#039;Existing Projects into Workspace&amp;#039; then click &amp;#039;next&amp;#039;. At &amp;#039;Select root directory&amp;#039; enter the location of &amp;#039;enut30e-app&amp;#039; under &amp;#039;Projects&amp;#039; select what project you want to import. If you want to work with copys select &amp;#039;Copy projects into workspace&amp;#039;. Click &amp;#039;finish&amp;#039; to be ready for examine the samples.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Building Examples with Eclipse:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Notice: arm-elf-gcc has to be on the PATH to work without the necessity of changes of the project properties.&lt;br /&gt;
&lt;br /&gt;
It might be necessary to add your PATH to the Environment Variables. At &amp;#039;Project&amp;#039; click on &amp;#039;Properties&amp;#039; there on &amp;#039;C/C++ Build&amp;#039; then on &amp;#039;Environment&amp;#039; now click &amp;#039;new&amp;#039;. At &amp;#039;Name&amp;#039; enter PATH and at &amp;#039;Value&amp;#039; enter the content of your PATH (which should contain the path of your avr/arm install).&lt;br /&gt;
&lt;br /&gt;
To build the samples either click under &amp;#039;Project&amp;#039; on &amp;#039;Build all&amp;#039; to build them all at once or select your favotite project and click under &amp;#039;Project&amp;#039; on &amp;#039;build project&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
You will find the binary either under [workspace]/[project] or under [enut30e-app]/[project] depending on the selection of &amp;#039;Copy projects into workspace&amp;#039; from the import.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Harald</name></author>
	</entry>
</feed>