Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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 xconfigor any other configuration interface provided with Buildroot.
- Build your Buildroot system by running
- 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.
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.
Managed build projects
Managed build means that Eclipse is responsible for building your application or library.
- How to create a new C project using the Buildroot toolchain ?
- How to link against libraries exposed by pkg config ? How to link against other kind of libraries ?
External build systems
- How to create a new Autotools C project using the Buildroot toolchain ?
- How to create a new Makefile C project using the Buildroot toolchain ?
Execute and debug remote applications
- How to execute a remote application ?
- [How to debug a remote application ?] (https://github.com/mbats/eclipse-buildroot-bundle/wiki/Tutorial-:-How-to-debug-a-remote-application-%3F)
- How to explore the remote system ?
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.
The implemented features are detailed in the Release-notes page.
- 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!
- Have a look at our troubleshooting page
- Contact us by e-mail. Send to the Buildroot mailing list after registration and copy Mélanie Bats who does the Eclipse integration.
- Contact us by IRC. Join the
#buildrootchannel on the Freenode network.
- To report a bug or ask for new features use the github issues tracker.