Difference between revisions of "How to develop with Eclipse IDE under IGEP Technology"

From IGEP - ISEE Wiki

Jump to: navigation, search
m
m
Line 40: Line 40:
  
 
[http://labs.isee.biz/images/c/ca/Eclipse_examples.tar.bz2 Download] examples and extract it:  
 
[http://labs.isee.biz/images/c/ca/Eclipse_examples.tar.bz2 Download] examples and extract it:  
<pre>a </pre>
+
<pre>tar jxf Eclipse_examples.tar.bz2 -C ~/ </pre>  
 
 
 
{| cellspacing="1" cellpadding="1" width="200" border="1"
 
{| cellspacing="1" cellpadding="1" width="200" border="1"
 
|-
 
|-

Revision as of 16:34, 21 August 2012

under construction

Overview

This guide can be helpful to learnt to develop applications under IGEP Boards using Eclipse IDE and IGEP SDK Yocto Toolchain.

Requirements

There are some requisites to follow this guide:

Pre-installed software on IGEP Processors Boards

(from Pre-installed software on IGEP Processors Boards)

Overview

If you have a brand new IGEP Processor Board you must know that it comes with a firmware provided and installed on it by ISEE.

By default, if you power up your board it will run the software on the flash. But you can prepare a MicroSD card and boot from it by inserting it to the MicroSD card reader of your IGEP Processor Board, as it has more priority than the flash.

The pre-installed software consists of a minimal Linux-based distribution with a lite X Window System and GNOME Mobile based applications created with Yocto Platform Builder.

About the pre-installed software

The pre-installed software consists of:

  • IGEP X-loader: a bootloader compatible with all IGEP Processor Boards.
  • IGEP Kernel: a Linux Kernel maintained by ISEE.
  • IGEP firmware Yocto: the software distribution consists of a lite X Window System and GNOME Mobile based applications created with Yocto tools

For more information about these specific sotware, read the following articles:

Other useful articles:


Igep forum.png If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat Irc.png

Using Eclipse IDE

(from How to install Eclipse IDE)

Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Haskell, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Android and Scheme. One of these interesting plugins is the Yocto Eclipse IDE Plug-in.

The Yocto Eclipse IDE Plug-in integrates the functionality of the Yocto Project Application Development Toolkit (ADT) and toolchain into the Eclipse IDE. This allows its users direct access to deploy, build, run and debug your own project. More information about Eclipse software here.


Create and Build projects

You can create two types of projects on Yocto Eclipse IDE Plug-in: Autotools-based, or Makefile-based. The IGEP SDK Virtual Machine provides already some examples that can be used as a template for your project. The examples are:

  • C_example, autotools-based “Hello World” program written in C.
  • Cairo_example, generates a png file named hello.png.
  • Cpp_example, autotools-based “Hello World” program written in C++
  • Dbus_example, sends "Hello Wolrd!" using D-Bus message system.
  • Glib_example, simple “Hello World" written using Glib library.
  • Gstreamer_example, ogg audio player using Gstreamer.
  • Gtk_example, Hello World in GTK.
  • C_example_without_autotools, makefile-base “Hello World” program written in C.

Import examples

Download examples and extract it:

tar jxf Eclipse_examples.tar.bz2 -C ~/ 
Eclipse import1.PNG Eclipse import2.PNG
Eclipse import3.PNG Eclipse import4.PNG

Build an autotools-based project

Run programs remotely

Debug programs remotely

Other uses

Explore IGEP filesystem remotely