IAR Embedded Workbench®
Total Page:16
File Type:pdf, Size:1020Kb
IAR Embedded Workbench® IDE Project Management and Building Guide UIDEEW-6 COPYRIGHT NOTICE © 1996–2013 IAR Systems AB. No part of this document may be reproduced without the prior written consent of IAR Systems AB. The software described in this document is furnished under a license and may only be used or copied in accordance with the terms of such a license. DISCLAIMER The information in this document is subject to change without notice and does not represent a commitment on any part of IAR Systems. While the information contained herein is assumed to be accurate, IAR Systems assumes no responsibility for any errors or omissions. In no event shall IAR Systems, its employees, its contractors, or the authors of this document be liable for special, direct, indirect, or consequential damage, losses, costs, charges, claims, demands, claim for lost profits, fees, or expenses of any nature or kind. TRADEMARKS IAR Systems, IAR Embedded Workbench, C-SPY, visualSTATE, The Code to Success, IAR KickStart Kit, I-jet, I-scope, IAR, and the logotype of IAR Systems are trademarks or registered trademarks owned by IAR Systems AB. Microsoft and Windows are registered trademarks of Microsoft Corporation. Adobe and Acrobat Reader are registered trademarks of Adobe Systems Incorporated. All other product names are trademarks or registered trademarks of their respective owners. EDITION NOTICE Sixth edition: September 2013 Part number: UIDEEW-6 Internal reference: M12, Too6.6.2, ISUD. 2 IDE Project Management and Building Guide AFE1_AFE2-1:1 Brief contents Tables ...................................................................................................................... 11 Preface .................................................................................................................... 13 Part 1. Project management and building ............ 21 The development environment ................................................................. 23 Project management ....................................................................................... 75 Building projects .............................................................................................. 101 Editing ................................................................................................................... 115 Part 2. Reference information ........................................... 157 Installed files ...................................................................................................... 159 Menu reference ............................................................................................... 165 Glossary .............................................................................................................. 183 Index ..................................................................................................................... 199 3 UIDETooticki6.4.0-1:1 4 UIDETooticki6.4.0-1:1 Contents Tables ...................................................................................................................... 11 Preface .................................................................................................................... 13 Who should read this guide ............................................................... 13 Required knowledge .......................................................................... 13 How to use this guide ........................................................................... 13 Some descriptions do not apply to your product ................................ 14 What this guide contains ..................................................................... 15 Part 1. Project management and building .......................................... 15 Part 2. Reference information ............................................................ 15 Other documentation ........................................................................... 15 User and reference guides .................................................................. 16 The online help system ...................................................................... 16 Web sites ............................................................................................ 17 Document conventions ........................................................................ 17 Typographic conventions ................................................................... 17 Naming conventions .......................................................................... 18 Part 1. Project management and building ............ 21 The development environment ................................................................. 23 Introduction to the IAR Embedded Workbench IDE ............ 23 Briefly about the IDE and the build toolchain ................................... 23 An extensible and modular environment ........................................... 24 Organizing the windows on the screen .............................................. 24 Using and customizing the IDE ........................................................ 25 Running the IDE ............................................................................... 25 Organizing windows .......................................................................... 26 Specifying tool options ...................................................................... 26 Recognizing filename extensions ....................................................... 26 Getting started using external analyzers ............................................ 27 Invoking external tools from the Tools menu .................................... 28 5 UIDETooticki6.4.0-1:1 Adding command line commands to the Tools menu ........................ 29 Using an external editor ..................................................................... 30 Reference information on the IDE .................................................. 32 IAR Embedded Workbench IDE window ......................................... 34 Tool Output window .......................................................................... 37 Common Fonts options ...................................................................... 38 Key Bindings options ......................................................................... 39 Language options ............................................................................... 40 Editor options ..................................................................................... 41 Configure Auto Indent dialog box ..................................................... 45 External Editor options ...................................................................... 46 Editor Setup Files options .................................................................. 47 Editor Colors and Fonts options ......................................................... 48 Messages options ............................................................................... 49 Project options .................................................................................... 51 External Analyzers options ................................................................ 53 External Analyzer dialog box ............................................................ 54 Source Code Control options ............................................................. 56 Debugger options ............................................................................... 57 Stack options ...................................................................................... 59 Register Filter options ........................................................................ 61 Terminal I/O options .......................................................................... 63 Configure Tools dialog box ............................................................... 64 Configure Viewers dialog box .......................................................... 66 Edit Viewer Extensions dialog box ................................................... 67 Filename Extensions dialog box ........................................................ 68 Filename Extension Overrides dialog box ......................................... 69 Edit Filename Extensions dialog box ................................................. 70 Argument variables ........................................................................... 70 Configure Custom Argument Variables dialog box .......................... 72 Project management ....................................................................................... 75 Introduction to managing projects ................................................. 75 Briefly about managing projects ........................................................ 75 6 UIDETooticki6.4.0-1:1 Contents How projects are organized ................................................................ 77 Interacting with version control systems ........................................... 80 Managing projects .................................................................................. 80 Creating and managing workspaces ................................................... 81 Viewing the workspace ...................................................................... 82 Interacting with SCC-compatible systems ......................................... 83 Interacting with Subversion ............................................................... 84 Reference information on managing projects ........................... 85 Workspace window ...........................................................................