Compiling Bela projects in Eclipse » History » Version 4

« Previous - Version 4/36 (diff) - Next » - Current version
Andrew McPherson, 2014-11-07 07:47 PM

Compiling projects with BeagleRT

This document contains information on how to compile the BeagleRT software and upload it onto the BeagleBone Black.

Required tools

This document assumes you have the following tools installed:

  • Working Linux system, either running natively or on a virtual machine
  • Mercurial version control system ( Available as a package in most Linux distributions.
  • arm-gcc hardfp compiler toolchain (i.e. arm-linux-gnueabihf-gcc and similar. On Ubuntu, these can be installed from packages:
    sudo apt-get install gcc-arm-linux-gnueabihf
    sudo apt-get install g++-arm-linux-gnueabihf
  • Eclipse IDE (
  • Xenomai libraries compiled for ARM hardfp (details to come)

Getting started

  1. Clone the BeagleRT files from the repository:
    hg clone
  2. Launch Eclipse and select a workspace (creating one if necessary).
  3. In the Eclipse menu bar, choose File -> Import.... Within the dialog box that appears, choose General -> Existing Projects into Workspace. Click Next.
  4. Click the button Select root directory and choose the path to the BeagleRT repository you just cloned.
  5. Make sure the BeagleRT project is selected, and under options, untick Copy projects into workspace. Click Finish to complete the project import.