ARM® DS-5 Eclipse for DS-5 User Guide

Version 5


Table of Contents

Preface
About this book
Using this book
Glossary
Typographic conventions
Feedback
Other information
1 Getting started with Eclipse
1.1 About Eclipse
1.2 Launching Eclipse
1.3 The welcome screen
1.4 Overview of the workbench window
1.5 Workbench features
1.6 Workspace
1.7 Resources
1.8 About working sets
1.9 Creating a working set
1.10 Changing the top level element when displaying working sets
1.11 Deselecting a working set
1.12 Perspectives and views
1.13 Menus
1.14 Toolbars
1.15 Editing source code
1.16 Configuring Eclipse
1.17 Preferences dialog box
1.18 Properties dialog box
1.19 Importing and exporting options
1.20 Using the Import wizard
1.21 Using the Export wizard
1.22 Accessing the dynamic help
1.23 Using ARM-specific cheat sheets
1.24 Installing new features
1.25 Restrictions of use
2 Working with projects
2.1 Project types
2.2 Creating a new C or C++ project
2.3 Creating an empty Makefile project
2.4 Creating a new Makefile project with existing code
2.5 Importing an existing Eclipse project
2.6 Setting up the compilation tools for a specific build configuration
2.7 Configuring the C/C++ build behavior
2.8 Updating a project to a new toolchain
2.9 Adding a new source file to your project
3 Working with editors
3.1 About the C/C++ editor
3.2 About the ARM assembler editor
3.3 About the ELF content editor
3.4 ELF content editor - Header tab
3.5 ELF content editor - Sections tab
3.6 ELF content editor - Segments tab
3.7 ELF content editor - Symbol Table tab
3.8 ELF content editor - Disassembly tab
3.9 About the scatter file editor
3.10 Creating a scatter file
3.11 Importing a memory map from a BCD file
4 Terminology, shortcuts and icons
4.1 Terminology
4.2 Keyboard shortcuts
4.3 Menu and toolbar icons

List of Figures

1-1 Welcome screen
1-2 Typical workbench window
1-3 Workspace Launcher dialog box
1-4 Linked file
1-5 Linked folder
1-6 Linked project
1-7 Creating a new working set
1-8 Selecting the resource type for the new working set
1-9 Adding new resources to a working set
1-10 Select the required working set
1-11 Changing perspective using the toolbar menu
1-12 Minimized views in the trim area
1-13 Workbench toolbar
1-14 Perspective toolbar
1-15 View toolbar
1-16 Window preferences dialog box
1-17 Project properties dialog box
1-18 Typical example of the import wizard
1-19 Typical example of the export wizard
1-20 Selecting a cheat sheet
1-21 Typical example of a cheat sheet
2-1 Creating a new C project
2-2 Creating a new Makefile project with existing code
2-3 Selecting the import source type
2-4 Selecting an existing Eclipse projects for import
2-5 Typical build settings dialog box for a C project
2-6 Workbench build behavior
2-7 Adding a new file to your project
3-1 Header tab
3-2 Sections tab
3-3 Segments tab
3-4 Symbol Table tab
3-5 Disassembly tab
3-6 Add load region dialog box
3-7 Graphical view of a simple scatter file
3-8 Import memory map for the scatter file editor
3-9 BCD file selection for the scatter file editor
3-10 Memory block selection for the scatter file editor

List of Tables

3-1 ARM assembler editor shortcuts
4-1 Perspective icons
4-2 View icons
4-3 View markers
4-4 Editor icons
4-5 Configuration icons
4-6 Outline icons
4-7 Miscellaneous icons
4-8 Navigation icons
4-9 Help Contents icons

Release Information

Document History
Issue Date Confidentiality Change
A June 2010 Non-Confidential First release
B September 2010 Non-Confidential Update for DS-5 version 5.2
C November 2010 Non-Confidential Update for DS-5 version 5.3
D January 2011 Non-Confidential Update for DS-5 version 5.4
E May 2011 Non-Confidential Update for DS-5 version 5.5
F July 2011 Non-Confidential Update for DS-5 version 5.6
G September 2011 Non-Confidential Update for DS-5 version 5.7
H November 2011 Non-Confidential Update for DS-5 version 5.8
I February 2012 Non-Confidential Update for DS-5 version 5.9
J May 2012 Non-Confidential Update for DS-5 version 5.10
K July 2012 Non-Confidential Update for DS-5 version 5.11
L October 2012 Non-Confidential Update for DS-5 version 5.12
M December 2012 Non-Confidential Update for DS-5 version 5.13
N March 2013 Non-Confidential Update for DS-5 version 5.14
O March 2014 Non-Confidential Update for DS-5 version 5.18
P 31 March 2015 Non-Confidential Update for DS-5 version 5.21
Q 15 July 2015 Non-Confidential Update for DS-5 version 5.22

Non-Confidential Proprietary Notice

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated.
Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents.
THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights.
This document may include technical inaccuracies or typographical errors.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at any time and without notice.
If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail.
Copyright © [2010-2015], ARM Limited or its affiliates. All rights reserved.
ARM Limited. Company 02557590 registered in England.
110 Fulbourn Road, Cambridge, England CB1 9NJ.
LES-PRE-20349

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.
Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is Final, that is for a developed product.

Web Address

Non-ConfidentialPDF file icon PDF versionARM DUI0480Q
Copyright © 2010-2015 ARM. All rights reserved.