Eclipse IDE Set Up in Yocto

Introduction to Eclipse IDE Set Up in Yocto Embedded Linux

Yocto and EclipseEclipse IDE is a general purpose framework and a development platform. Eclipse is written mostly in Java and primary used for developing Java applications. However, it is also used as a development tool for non-Java languages such as C/C++, Python, Perl, and shell scripting . Eclipse is open-sourced and developed by the Eclipse Foundation. Eclipse has a large community. The community have developed various plug-ins that enhance the functionality of Eclipse. This advantage has made Eclipse extremely flexible when it comes to software development.

Because Eclipse is written in Java, we will need Java JRE (Java Runtime Environment) and JDK (Java Development Kit) to operate. To develop Yocto Embedded Device applications, we need to install Eclipse and Yocto plug-ins and generate the Yocto ADT (Application Development Toolkit). The Eclipse plug-ins includes LTTing Linux Tracing Toolkit, remote control related plug-ins, and C/C++ autotool supports. Yocto Project has developed its own section of ADT for Eclipse IDE. Yocto plug-in integrates the functionality of the Yocto Project ADT and toolchain into Eclipse IDE. This allows users to cross compile, use the emulator, the debug and profiling tools. After these plug-in installations, we can connect Yocto ADT to Eclipse and start develop our own applications.

The Yocto plug-in allow the target to be an emulated system that uses the QEMU (Quick Emulator) system or to be a non emulated system that used the target real hardware on the network. The target is the Yocto Embedded Device. We can connect and control the target device by setting up the SSH connection in Eclipse. After we have built the program, we can configure its run configurations. The remote absolute path in C/C++ application is the deployed program destination target. This would also be treated as a way for Eclipse to transfer deploy programs. The program is boots over NFS so both the host and target device can access the same filesystem.

The video below shows how Eclispe IDE is set up to compile programs for HIO 3.5″ Wallpad.  The HIO 3.5″ Wallpad include the HIO-EMB-1200 Freescale i.MX6 dual core board and HIO-POE-1260 power over Ethernet add on module. The device boots up with Qt Framebuffer, SSH, Wifi Module Driver and Qt5.2.1 framework.

For more information on how to set up Eclipse IDE, please visit http://wiki.hioproject.org/index.php?title=Eclipse

Happy Coding!