From 19059eca3729e50bb63fc4e49dd9dada70cd9d86 Mon Sep 17 00:00:00 2001 From: Daniel BORNAZ Date: Fri, 4 Oct 2019 15:46:52 +0200 Subject: Updated Yocto Plugins for Eclipse Rewrite installation and configuration of Yocto Eclipse plugins. Change-Id: I0c94ea1a5c25d79ff10fa4a7f0b989778e44831c --- .../doc/using_eclipse.xml | 110 ++++++++++----------- 1 file 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 @@ Using Eclipse
- Installing Eclipse + Installing Oxygen Eclipse IDE + + + + Yocto Eclipse Plugins are discontinued and the last Yocto version that provides them + is Yocto 2.5. + + + + Installation and configuration of the Eclipse Oxygen IDE should be done following the + Yocto + Project Application Development and the Extensible Software Development Kit + (eSDK) documentation, Chapter 5. + Instructions provided in Chapter 5.2.1.1 are no longer valid, so, please follow the + steps below in order to install Eclipse Oxygen: + - For instructions on how to install Eclipse Oxygen, please refer to - the Yocto - Project Software Development Kit (SDK) Developer's Guide, chapter - 4.3.2.1. Although the instructions listed there currently, refer to the - Neon release of Eclipse, the same steps still apply to the Oxygen release, - with some small differences: - - + - In step 1 from chapter - 4.3.2.1.1, the URL for downloading Eclipse should be http://www.eclipse.org/oxygen - instead. + Download Eclipse Oxygen archive from this link, by selecting the correct architecture: + https://www.eclipse.org/downloads/packages/release/oxygen/2/eclipse-ide-cc-developers + (i.e. eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz). + - In step 3 from chapter - 4.3.2.1.2, the correct option in the drop-down menu should look like: - Oxygen - - http://download.eclipse.org/releases/oxygen. + Decompress the Eclipse archive in your home directory and start the IDE: + + $ tar xf ~/Downloads/eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz -C ~/ + $ ~/eclipse/eclipse + + - In step 5 from chapter - 4.3.2.1.2, under the category Mobile and Device - Development, select C/C++ GDB - Hardware Debugging as well. + Proceed to Chapter 5.2.1.2 in the Yocto documentation and configure Eclipse with + Oxygen. + - + + + + + + For compatibility reasons, only use JDK version 1.8 on your host. + +
Installing Yocto Plug-ins - Retrieve the archive containing the Yocto Plug-ins from the Enea - Linux release location and save it on your local machine. The archive file - has the following format: - org.yocto.sdk-<release>-<date>-archive.zip. - To install the Yocto Plugins in Eclipse, follow the instructions in - chapter - 4.3.2.1.3.2. of the Yocto Manual, starting with step 8. In step 12 - use the local archive that you downloaded previously. - - To make sure that all required packages have been installed, go to - the menu Help > Install New Software > Eclipse - version, and select the version you use (e.g. Oxygen), to add - any missing packages. You can also check what packages are currently - installed by pressing the What is Already - Installed? link, as seen below. - - - - - - - - - - + + Yocto Project Application Development and the Extensible Software Development Kit + (eSDK) documentation, Chapter 5.2.1.3. + + + You have the option of installing pre-built plugins from the Yocto Project Eclipse + update site (Chapter 5.2.1.3.1) or to install the plugins using the latest source code + (Chapter 5.2.1.3.2). We recommend for the first installation the use of pre-built plugins. +
@@ -221,10 +219,10 @@ root 329 0.0 0.2 1864824 2600 ? Ssl 12:47 0:08 /usr/sbin/tcf-agent -d -L- -l0

More details on how to configure the cross-compiler can be found in the Yocto - Project Software Development Kit (SDK) Developer's Guide - 2.5. Change the Yocto version in the link if - needed. + url="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html">Yocto + Project Application Development and the Extensible Software Development Kit + (eSDK). + There is also a good cheat sheet available in Eclipse, under Help > Cheat Sheets > Yocto Project > @@ -674,7 +672,7 @@ root 329 0.0 0.2 1864824 2600 ? Ssl 12:47 0:08 /usr/sbin/tcf-agent -d -L- -l0

Browse
button and select a location on the remote target. You need an active TCF connection to the target for the Browse button to - work (see chapter Setting up a TCF + work (see Chapter Setting up a TCF Connection from Eclipse). Note that you need to specify the path including the filename.
-- cgit v1.2.3-54-g00ecf