Difference between revisions of "BeagleBoardEclipse"

From eLinux.org
Jump to: navigation, search
m (CDT installation)
m (Install Zylin Embedded CDT)
Line 77: Line 77:
  
 
* Wait until CDT installation finished. Then, you are asked to restart. Do this.
 
* Wait until CDT installation finished. Then, you are asked to restart. Do this.
 +
 +
==Zylin Embedded CDT==
 +
 +
* To install Zylin Embedded CDT, in Eclipse select
 +
 +
Help -> Install new software...
 +
 +
* There, use
 +
 +
Add...
 +
 +
dialog and enter:
 +
 +
* Name: Zylin Embedded CDT
 +
* Location: http://opensource.zylin.com/zylincdt
 +
 +
Note: Check [http://opensource.zylin.com/embeddedcdt.html Zylin Embedded CDT page] for up to date link.
 +
 +
 +
[[File:Eclipse 6.jpg]]
 +
 +
 +
Press, OK, select Zylin Embedded CDT ...
 +
 +
 +
[[File:Eclipse 7.jpg]]
 +
 +
 +
... click Next and Finish. Accept message about unsigned components and restart Eclipse again.
  
 
=Reading=
 
=Reading=

Revision as of 05:20, 1 October 2009

This page is about using Eclipse IDE for BeagleBoard. It is focused on JTAG debugging with e.g. OpenOCD, but can be extended to additional topics, e.g. C/C++ development. And, while the examples focus on Beagle, stuff shown here will most probably easily apply to other boards.

Installation

Here, installation of Eclipse for C/C++ development and embedded GDB/JTAG debugging will be described. This is done in three steps:

Note: The file names and versions given here are based on October 2009. They may change.

Eclipse Classic

In October 2009 this was version 3.5.1. 32-bit Linux version download resulted in file eclipse-SDK-3.5.1-linux-gtk.tar.gz.

  • Installation is done by extracting downloaded (tar.gz) file (e.g. tar xvfz eclipse-SDK-3.5.1-linux-gtk.tar.gz).
  • Start Eclipse by calling
cd eclipse
./eclipse

You might want to add this to your path and/or add a start icon/shortcut on your desktop/start menue.

Starting Eclipse, you are asked for the directory where you want to have your workspace:


Eclipse 1.jpg


After doing this, Eclipse starts...


Eclipse 2.jpg


... and presents the start screen:


Eclipse 3.jpg

CDT

  • To install CDT, in Eclipse select
Help -> Install new software...
  • There, use
Add...

dialog and enter:

Note: Check CDT download page for up to date link.


Eclipse 4.jpg


Press, OK, select both CDT components ...


Eclipse 5.jpg


... and click Next, accept license agreement and Finish. Then download and installation of CDT and dependencies starts.

  • Wait until CDT installation finished. Then, you are asked to restart. Do this.

Zylin Embedded CDT

  • To install Zylin Embedded CDT, in Eclipse select
Help -> Install new software...
  • There, use
Add...

dialog and enter:

Note: Check Zylin Embedded CDT page for up to date link.


Eclipse 6.jpg


Press, OK, select Zylin Embedded CDT ...


Eclipse 7.jpg


... click Next and Finish. Accept message about unsigned components and restart Eclipse again.

Reading

Additional plug ins

Links

tbd.