Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Eclipse plugin to integrate Buildroot toolchains with CDT
Java
tag: 3.1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
buildroot.patches
org.buildroot.cdt.toolchain.build
org.buildroot.cdt.toolchain.feature
org.buildroot.cdt.toolchain.update
org.buildroot.cdt.toolchain
org.eclipse.cdt.autotools.core
org.eclipse.cdt.autotools.feature.patch
org.eclipse.cdt.autotools.ui
org.eclipse.cdt.managedbuilder.core.feature.patch
org.eclipse.cdt.managedbuilder.core
.gitignore
README.md

README.md

Eclipse Buildroot Toolchain plugin

Introduction

This Eclipse plugin allows to integrate Buildroot project toolchains with Eclipse CDT.

Buildroot is a tool to build embedded Linux system using cross-compilation. It allows to build a cross-compilation toolchain (or re-use an existing one), a root filesystem image with applications and libraries, a kernel image and a bootloader image or any combination of these.

Since Buildroot generates a toolchain and install libraries and headers to develop applications for the target embedded system, it is desirable to easily access these toolchains from Eclipse CDT. Accessing those toolchains allows to build application for the target directly within Eclipse.

Usage

Once this plugin is installed in Eclipse, it will automatically make your Buildroot toolchains appear in the C/C++ Settings of your C/C++ projects.

In order for Buildroot toolchains to be visible, you must enable the BR2_ECLIPSE_REGISTER Buildroot option when building your project. The Eclipse plugin will then show all toolchains of Buildroot projects that had this option enabled.

This plugin is typically used with the Buildroot Eclipse bundle available, for which we provide detailled installation and usage instructions.

Implementation

When a Buildroot project is built with BR2_ECLIPSE_REGISTER, it adds a few information describing the generated toolchain into $HOME/.buildroot-eclipse.toolchains. The Eclipse plugin reads this file, and then creates the necessary objects in Eclipse to make these toolchains usable for C/C++ projects.

This plugin has been developed by re-using code from the Eclipse Blackfin plugin and the GNU ARM Eclipse plugin. Compared to these plugins, the Buildroot Eclipse plugin is much more dynamic: it allows to dynamically register an arbitrary number of toolchains.

Authors

Something went wrong with that request. Please try again.