Skip to content
mbats edited this page Sep 21, 2014 · 48 revisions

While a part of the embedded Linux developers like classical text editors like Vim or Emacs, and command-line based interfaces, a number of other embedded Linux developers like richer graphical interfaces to do their development work. Eclipse being one of the most popular Integrated Development Environment, Buildroot integrates with Eclipse in order to ease the development work of Eclipse users.

Our integration with Eclipse simplifies the compilation, remote execution and remote debugging of applications and libraries that are built on top of a Buildroot system. It does not integrate the Buildroot configuration and build processes themselves with Eclipse. Therefore, the typical usage model of our Eclipse integration would be:

  • Configure your Buildroot system with make menuconfig, make xconfig or any other configuration interface provided with Buildroot.
  • Build your Buildroot system by running make.
  • Start Eclipse to develop, execute and debug your own custom applications and libraries, that will rely on the libraries built and installed by Buildroot.

The tutorials below will guide you through the installation and usage of the Eclipse and Buildroot integration.

Installation

Download Eclipse IDE for C/C++ Developers (Luna 4.4) and install the Buildroot Eclipse update-site : http://buildroot.org/downloads/eclipse/luna. For further information, see the installation tutorial.

Tutorials

Introduction

Managed build projects

Managed build means that Eclipse is responsible for building your application or library.

External build systems

Execute and debug remote applications

Video demonstration

Mélanie Bats has given a talk at EclipseCon Europe 2012 about the Eclipse Buildroot integration. The slides and video are available.

Buildroot Eclipse Bundle talk at EclipseCon Europe 2012.

The video gives a demonstration on how to use Eclipse together with Buildroot. However note that at the time of the video, the pkg-config integration was not available, so we had to manually enter the compiler and linker flags to link the second demonstration application against the DirectFB library. Now the pkg-config integration is available, which makes this process a lot easier. See our tutorial about pkg-config integration.

Release Notes

The implemented features are detailed in the Release-notes page.

Future work

  • Investigate the replacement of the SSH and SFTP communication by using the TCF infrastructure and tcf-agent on the target. This allows to replace the SSH/SFTP server by a more lightweight daemon on the target, and to provide automatic discovery of targets available on the network.
  • Investigate how to support the CMake build system
  • Investigate how to work with projects composed of multiple components (multiple applications and libraries)
  • Investigate the integration of RX-TX, a library that allows Eclipse to integrate a serial port terminal.
  • Investigate the integration of other Eclipse plugins for embedded Linux development: LTT-ng plugin, OProfile plugin, etc.
  • Your idea, please contact us to let us know what you think!

Support