IDE Project Management and Building Guide
Total Page:16
File Type:pdf, Size:1020Kb
IDE Project Management and Building Guide for the Renesas V850 Microcontroller Family UIDEV850-4 COPYRIGHT NOTICE © 2010–2018 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, Embedded Trust, IAR Connect, C-SPY, C-RUN, C-STAT, IAR Visual State, IAR KickStart Kit, I-jet, I-jet Trace, I-scope, IAR Academy, 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. Renesas is a registered trademark of Renesas Electronics Corporation. V850 is a trademark of Renesas Electronics 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 Fourth edition: October 2018 Part number: UIDEV850-4 This guide applies to version 5.x of IAR Embedded Workbench® for the Renesas V850 microcontroller family. Internal reference: M22, Mym8.1, IJOA. IDE Project Management and Building Guide 2 for V850 AFE1_AFE2-1:1 Brief contents Tables ..................................................................................................................... 13 Preface .................................................................................................................... 15 Part 1. Project management and building ............ 21 The development environment ................................................................ 23 Project management ....................................................................................... 87 Building projects ............................................................................................. 107 Editing ................................................................................................................... 123 Part 2. Reference information ........................................... 165 Product files ...................................................................................................... 167 Menu reference ............................................................................................... 175 General options .............................................................................................. 195 Compiler options ........................................................................................... 203 Assembler options ......................................................................................... 219 Custom build options ................................................................................... 227 Build actions options .................................................................................... 229 Linker options .................................................................................................. 231 Library builder options ................................................................................ 247 Glossary ............................................................................................................... 249 Index ..................................................................................................................... 265 3 AFE1_AFE2-1:1 4 AFE1_AFE2-1:1 Contents Tables ..................................................................................................................... 13 Preface .................................................................................................................... 15 Who should read this guide ............................................................... 15 Required knowledge .......................................................................... 15 How to use this guide ........................................................................... 15 What this guide contains ..................................................................... 16 Part 1. Project management and building .......................................... 16 Part 2. Reference information ............................................................ 16 Other documentation ........................................................................... 17 User and reference guides .................................................................. 17 The online help system ...................................................................... 17 Web sites ............................................................................................ 18 Document conventions ........................................................................ 18 Typographic conventions ................................................................... 18 Naming conventions .......................................................................... 19 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 Tools for analyzing and checking your application ........................... 24 An extensible and modular environment ........................................... 24 The layout of the windows on the screen ........................................... 25 Using and customizing the IDE ........................................................ 25 Running the IDE ............................................................................... 26 Working with example projects ......................................................... 26 Organizing windows on the screen .................................................... 28 Specifying tool options ...................................................................... 28 Adding a button to a toolbar .............................................................. 29 Removing a button from a toolbar ..................................................... 30 5 AFE1_AFE2-1:1 Showing/hiding toolbar buttons ......................................................... 30 Recognizing filename extensions ....................................................... 31 Getting started using external analyzers ............................................ 31 Invoking external tools from the Tools menu .................................... 33 Adding command line commands to the Tools menu ........................ 34 Using an external editor ..................................................................... 34 Reference information on the IDE .................................................. 36 IAR Embedded Workbench IDE window ......................................... 38 Customize dialog box ......................................................................... 43 Button Appearance dialog box ........................................................... 46 Tool Output window .......................................................................... 47 Common Fonts options ...................................................................... 48 Key Bindings options ......................................................................... 49 Language options ............................................................................... 51 Editor options ..................................................................................... 52 Configure Auto Indent dialog box ..................................................... 56 External Editor options ...................................................................... 57 Editor Setup Files options .................................................................. 58 Editor Colors and Fonts options ......................................................... 59 Messages options ............................................................................... 60 Project options .................................................................................... 61 External Analyzers options ................................................................ 64 External Analyzer dialog box ............................................................ 65 Source Code Control options (deprecated) ........................................ 67 Debugger options ............................................................................... 68 Stack options ...................................................................................... 70 Terminal I/O options .......................................................................... 72 Configure Tools dialog box ............................................................... 74 Configure Viewers dialog box .......................................................... 76 Edit Viewer Extensions dialog box ................................................... 77 Filename Extensions