summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel BORNAZ <daniel.bornaz@enea.com>2019-10-04 15:46:52 +0200
committerDaniel BORNAZ <daniel.bornaz@enea.com>2019-10-04 15:46:59 +0200
commit19059eca3729e50bb63fc4e49dd9dada70cd9d86 (patch)
tree9d0c74f50b6eb59487a988d620ba60e7a61e1658
parenta2beb16e971f20f31f6e7f47551fd910785cf0be (diff)
downloadel_releases-standard-19059eca3729e50bb63fc4e49dd9dada70cd9d86.tar.gz
Updated Yocto Plugins for Eclipse
Rewrite installation and configuration of Yocto Eclipse plugins. Change-Id: I0c94ea1a5c25d79ff10fa4a7f0b989778e44831c
-rw-r--r--doc/book-enea-linux-user-guide/doc/using_eclipse.xml110
1 files changed, 54 insertions, 56 deletions
diff --git a/doc/book-enea-linux-user-guide/doc/using_eclipse.xml b/doc/book-enea-linux-user-guide/doc/using_eclipse.xml
index f354399..077935a 100644
--- a/doc/book-enea-linux-user-guide/doc/using_eclipse.xml
+++ b/doc/book-enea-linux-user-guide/doc/using_eclipse.xml
@@ -3,72 +3,70 @@
3 <title>Using Eclipse</title> 3 <title>Using Eclipse</title>
4 4
5 <section id="install_eclipse"> 5 <section id="install_eclipse">
6 <title>Installing Eclipse</title> 6 <title>Installing Oxygen Eclipse IDE</title>
7
8 <para>
9 <note>
10 Yocto Eclipse Plugins are discontinued and the last Yocto version that provides them
11 is Yocto 2.5.
12 </note>
13 </para>
14
15 <para>Installation and configuration of the Eclipse Oxygen IDE should be done following the
16 <ulink url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html#adt-eclipse">Yocto
17 Project Application Development and the Extensible Software Development Kit
18 (eSDK)</ulink> documentation, Chapter 5.
19 Instructions provided in Chapter 5.2.1.1 are no longer valid, so, please follow the
20 steps below in order to install Eclipse Oxygen:
21 </para>
7 22
8 <para>For instructions on how to install Eclipse Oxygen, please refer to 23 <orderedlist>
9 the <ulink
10 url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html#adt-eclipse">Yocto
11 Project Software Development Kit (SDK) Developer's Guide</ulink>, chapter
12 4.3.2.1. Although the instructions listed there currently, refer to the
13 Neon release of Eclipse, the same steps still apply to the Oxygen release,
14 with some small differences:</para>
15
16 <itemizedlist>
17 <listitem> 24 <listitem>
18 <para>In <emphasis role="bold">step 1</emphasis> from chapter 25 <para>Download Eclipse Oxygen archive from this link, by selecting the correct architecture:<ulink
19 4.3.2.1.1, the URL for downloading Eclipse should be <ulink 26 url="https://www.eclipse.org/downloads/packages/release/oxygen/2/eclipse-ide-cc-developers">
20 url="http://www.eclipse.org/oxygen">http://www.eclipse.org/oxygen</ulink> 27 https://www.eclipse.org/downloads/packages/release/oxygen/2/eclipse-ide-cc-developers</ulink>
21 instead.</para> 28 (i.e. <filename>eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz</filename>).
29 </para>
22 </listitem> 30 </listitem>
23 31
24 <listitem> 32 <listitem>
25 <para>In <emphasis role="bold">step 3</emphasis> from chapter 33 <para>Decompress the Eclipse archive in your home directory and start the IDE:
26 4.3.2.1.2, the correct option in the drop-down menu should look like: 34 <programlisting>
27 <emphasis>Oxygen - 35 $ tar xf ~/Downloads/eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz -C ~/
28 http://download.eclipse.org/releases/oxygen</emphasis>.</para> 36 $ ~/eclipse/eclipse
37 </programlisting>
38 </para>
29 </listitem> 39 </listitem>
30 40
31 <listitem> 41 <listitem>
32 <para>In <emphasis role="bold">step 5</emphasis> from chapter 42 <para>Proceed to Chapter 5.2.1.2 in the Yocto documentation and configure Eclipse with
33 4.3.2.1.2, under the category <emphasis role="bold">Mobile and Device 43 Oxygen.
34 Development</emphasis>, select <emphasis role="bold">C/C++ GDB 44 </para>
35 Hardware Debugging</emphasis> as well.</para>
36 </listitem> 45 </listitem>
37 </itemizedlist> 46
47 </orderedlist>
48
49 <para>
50 <note>
51 For compatibility reasons, only use JDK version 1.8 on your host.
52 </note>
53 </para>
38 </section> 54 </section>
39 55
40 <section id="install_yocto"> 56 <section id="install_yocto">
41 <title>Installing Yocto Plug-ins</title> 57 <title>Installing Yocto Plug-ins</title>
42 58
43 <para>Retrieve the archive containing the Yocto Plug-ins from the Enea
44 Linux release location and save it on your local machine. The archive file
45 has the following format:
46 <filename>org.yocto.sdk-&lt;release&gt;-&lt;date&gt;-archive.zip</filename>.</para>
47
48 <para>To install the Yocto Plugins in Eclipse, follow the instructions in 59 <para>To install the Yocto Plugins in Eclipse, follow the instructions in
49 <ulink 60 <ulink
50 url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html#adt-eclipse">chapter 61 url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html#oxygen-setting-up-the-eclipse-ide">
51 4.3.2.1.3.2</ulink>. of the Yocto Manual, starting with <emphasis 62 Yocto Project Application Development and the Extensible Software Development Kit
52 role="bold">step 8</emphasis>. In <emphasis role="bold">step 12</emphasis> 63 (eSDK)</ulink> documentation, Chapter 5.2.1.3.
53 use the local archive that you downloaded previously.</para> 64 </para>
54 65 <para>
55 <para>To make sure that all required packages have been installed, go to 66 You have the option of installing pre-built plugins from the Yocto Project Eclipse
56 the menu <emphasis role="bold">Help &gt; Install New Software &gt; Eclipse 67 update site (Chapter 5.2.1.3.1) or to install the plugins using the latest source code
57 version</emphasis>, and select the version you use (e.g. Oxygen), to add 68 (Chapter 5.2.1.3.2). We recommend for the first installation the use of pre-built plugins.
58 any missing packages. You can also check what packages are currently 69 </para>
59 installed by pressing the <emphasis role="bold">What is Already
60 Installed?</emphasis> link, as seen below.</para>
61
62 <mediaobject>
63 <imageobject role="fo">
64 <imagedata align="center" contentwidth="600"
65 fileref="images/install_new_sw.svg" />
66 </imageobject>
67
68 <imageobject role="html">
69 <imagedata align="center" fileref="images/install_new_sw.png" />
70 </imageobject>
71 </mediaobject>
72 </section> 70 </section>
73 71
74 <section id="eclipse_remote_connection"> 72 <section id="eclipse_remote_connection">
@@ -221,10 +219,10 @@ root 329 0.0 0.2 1864824 2600 ? Ssl 12:47 0:08 /usr/sbin/tcf-agent -d -L- -l0</p
221 <tip> 219 <tip>
222 <para>More details on how to configure the cross-compiler can be found 220 <para>More details on how to configure the cross-compiler can be found
223 in the <ulink 221 in the <ulink
224 url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html"><emphasis>Yocto 222 url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html">Yocto
225 Project Software Development Kit (SDK) Developer's Guide 223 Project Application Development and the Extensible Software Development Kit
226 2.5</emphasis></ulink>. Change the Yocto version in the link if 224 (eSDK)</ulink>.
227 needed.</para> 225 </para>
228 226
229 <para>There is also a good cheat sheet available in Eclipse, under 227 <para>There is also a good cheat sheet available in Eclipse, under
230 <emphasis role="bold">Help &gt; Cheat Sheets &gt; Yocto Project &gt; 228 <emphasis role="bold">Help &gt; Cheat Sheets &gt; Yocto Project &gt;
@@ -674,7 +672,7 @@ root 329 0.0 0.2 1864824 2600 ? Ssl 12:47 0:08 /usr/sbin/tcf-agent -d -L- -l0</p
674 role="bold">Browse</emphasis> button and select a location on 672 role="bold">Browse</emphasis> button and select a location on
675 the remote target. You need an active TCF connection to the 673 the remote target. You need an active TCF connection to the
676 target for the <emphasis role="bold">Browse</emphasis> button to 674 target for the <emphasis role="bold">Browse</emphasis> button to
677 work (see chapter <emphasis role="bold">Setting up a TCF 675 work (see Chapter <emphasis role="bold">Setting up a TCF
678 Connection from Eclipse</emphasis>). Note that you need to 676 Connection from Eclipse</emphasis>). Note that you need to
679 specify the path including the filename.</para> 677 specify the path including the filename.</para>
680 </listitem> 678 </listitem>