OpenEmbedded Tools for Eclipse (OTE)

From Openembedded.org
Jump to navigation Jump to search

Overview

This page is a work in progress.  

OpenEmbedded Tools for Eclipse (OTE) is a set of Eclipse plugins to make using OpenEmbedded from within Eclipse possible.

Status

OTE is in a beta form. Functionality present within the plugins should work well, but development on them is fairly new. Bugs are expected!

Current Work

  • Documentation
  • Bug Fixes

Version

Current available version is 0.7.0.

Changelog

0.7.0

  • Numerous fixes in Create Project Wizard to sync to latest OE-Dev install.

License

OTE is licensed under the Eclipse Public License (EPL).

Source

Sources are available at svn://svn.buglabs.net/ote/trunk.

Updatesite

The OTE updatesite, used to install the plugins from within Eclipse:

http://bugcommunity.com/downloads/files/ote/updatesite/

Workflow

OTE is designed to facilitate a set of typical actions or tasks that an OE developer would do.

Install OpenEmbedded

1. To install a new copy of OpenEmbedded, select the wizard from the File -> New... -> Other... menu. Ote create project wizard 1.png


2. Next, select the flavor of OpenEmbedded you wish to install. Ote create project wizard 2.png


3. Now specify configuration parameters. If fields are unfamiliar, leave the defaults and proceed. Ote create project wizard 3.png


4. Assuming all the necessary system tools are available, the wizard will download sources and configure your new OpenEmbedded install.


Ote create project wizard 4.png

5. Now by clicking finish, an Eclipse project will be created. It may take a few moments for Eclipse to index all the files in the project. Your workbench should look something like this:

Ote workbench 1.png

Import Existing OE into Workspace

To access the Import Project wizard, select File -> Import... and select the Import OpenEmbedded Project wizard from the general dialog like so:

Ote import project wizard 1.png

Next fill in the three fields required for importing the project.

  • Name: this is the name of the Eclipse project in your workspace and can be anything.
  • Location: this is the base directory of your OpenEmbedded project.
  • Init Script: this is the shell script that initializes OE environment variables and updates the path.

Ote import project wizard 2.png

The final wizard page shows the output of what you would see in the terminal after executing bitbake -e.

Ote import project wizard 3.png

After clicking finish a new project should be available in your workspace. Depending on your machine it may take some moments for Eclipse to scan the entire set of files. It is important to note that even though the project appears in your Eclipse workspace, the files are accessed from your OE project root. So, modifications to these files will be reflected in your existing OE install.

Create Recipe

Edit Recipe

Editor templates and hover-over information

Build Recipe

Import Recipe sources as new project

Browse OE variables