75xx Poky Eclipse

From Technologic Systems Manuals

The OpenEmbedded distribution is designed to work well with graphical IDEs such as Eclipse. To get started, download Eclipse Classic for your Linux X86 or X64 system here. This has been tested with Eclipse 4.2, and it is not recommended to use the Eclipse build provided by your distribution.

To install:

sudo tar xf eclipse-SDK-4.2.2-linux-gtk.tar.gz -C /opt/

To launch Eclipse:

/opt/eclipse/eclipse &

Once Eclipse is installed and running you will need to add c/c++ and remote debugging support. To install the required plugins follow these steps.

Launch Eclipse and select "Help -> Install New Software" EclipseHelp.png
Click "Add" and Add the Juno repository at "http://download.eclipse.org/releases/juno". EclipseAddRepo.png
Click the "Work with:" drop down and select the Juno repository you just added. In the tree view below, select these options:
  • Linux Tools
    • LTTng - Linux Tracing Toolkit
  • Mobile and Device Development
    • C/C++ Remote Launch
    • Remote System Explorer End-user Runtime
    • Remote System Explorer User Actions
    • Target Management Terminal
    • TCF Remote System Explorer add-in
    • TCF Target Explorer
  • Programming Languages
    • Autotools Support for CDT
    • C/C++ Development Tools


Once the projects have been selected, Click next and finish to begin the installation. Once this has finished restart the Eclipse IDE. EclipseInstalling.png
On startup return to the "Install New Software" option to add the Poky plugin. Click "Add" and add the Yocto repo at "http://downloads.yoctoproject.org/releases/eclipse-plugin/1.3". Click the "Work with:" drop down and select the Yocto repository you just added. Select the option "Yocto plugin for Eclipse". Continue the install, and restart Eclipse when it is finished. EclipseYoctoInstall.png
To configure the cross toolchain, to to Windows->Preferences EclipsePreferencesMenu.png
Select the "Yocto Project ADT". Our provided toolchain is a standalone pre-built toolchain. For the "Toolchain Root Location", enter "/opt/poky/1.3", or to another location if you installed the board SDK elsewhere. The "Sysroot" is the path to the filesystem on the embedded board. This can be the XNAND or SD roots. Our defaults are available here:
File Size
SD Root 400MB
XNAND Root 150MB

For example, to use the sd root:

sudo tar -cvzf sdroot.tar.gz -C /opt/sdroot/

For your Sysroot, you would specify /opt/sdroot. Alternatively you can mount the SD card and use this as your Sysroot.

150px