SEARCH
TOOLBOX
LANGUAGES
modified on 17 June 2010 at 12:31 ••• 24,252 views

Using Eclipse/all

From Manuals

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
{{:Using_Eclipse/1}}
{{:Using_Eclipse/1}}
 +
{{:Using_Eclipse/2}}

Revision as of 20:08, 15 June 2010

Contents

Introduction

Overview

The purpose of this document is to show developers how to write, compile, and debug applications using the Eclipse IDE. In this document, we will be discussing how to get Eclipse set up, how to write and compile projects, and how to debug in the Eclipse environment.

The major topics to be covered in this document are:

  • Eclipse Installation
  • Writing and compiling applications
  • Debugging applications

Installation

System Requirements

Eclipse is a Java application and has the potential to be run on a wide variety of hardware and operating systems. Eclipse may install on systems with as little as 64MB of memory, however, we recommend to have 1GB of memory or more.

Software Requirements

The following software is required prior to install:

  • GNU ARM Toolchain – Tools for embedded ARM development
  • Java Runtime Environment (JRE) – Environment required for Java applications

Eclipse SDK

The Eclipse SDK includes the Eclipse Platform which provides support for a full featured IDE. The SDK is provided as an archive and should be extracted to its desired directory (commonly ‘C:\Program Files\’). Eclipse can then be run by opening ‘eclipse.exe’ under INSTALL_DIR\eclipse\ and it is recommended that a shortcut be created to the application for easy access. At startup, Eclipse will prompt the user to specify the workspace directory and should point to the directory containing all of the user’s project folders. This would be ‘C:\Program Files\Micromint\Eagle\StellarisWare\boards\eagle’ for the Eagle example applications and ‘%USERPROFILE%\Projects\Micromint\Lincoln’ for the Lincoln example applications.

Figure 1 – Specifying Workspace in Eclipse

Plug-ins

The Eclipse IDE does not come with embedded ARM development support right out of the box. Plug-ins are needed to add this functionality and can be installed by selecting ‘Help’, ‘Install new software…’ via the Eclipse File menu. Click ‘Add’ to specify a plug-in source. An internet URL can be entered into the text box or a local directory or archive can be selected. The following two plug-ins can be installed via internet repository:

Figure 2 – Installing the CDT plug-in

The following plug-in will need to be downloaded manually and installed via the archive method: