Codewarrior Development Studio for Microcontrollers V10.X HC(S)08 Build Tools Reference Manual

Codewarrior Development Studio for Microcontrollers V10.X HC(S)08 Build Tools Reference Manual

CodeWarrior Development Studio for Microcontrollers V10.x HC(S)08 Build Tools Reference Manual Rev. April 15, 2013 CodeWarrior Development Studio for Microcontrollers V10.x HC(S)08 Build Tools Reference Manual, Rev. April 15, 2013 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Overview 1.1 Accompanying Documentation..................................................................................................................................51 1.2 Additional Information Resources..............................................................................................................................52 Chapter 2 Using Compiler Chapter 3 Introduction 3.1 Compiler Environment................................................................................................................................................55 3.2 Designing Project........................................................................................................................................................56 3.3 Creating and Managing Project Using CodeWarrior IDE .........................................................................................57 3.3.1 Creating Project using CodeWarrior Project Wizard.................................................................................57 3.3.2 Analysis of Groups in CodeWarrior Projects View...................................................................................61 3.3.3 Analysis of Files in CodeWarrior Projects View.......................................................................................62 3.4 Using Standalone Compiler........................................................................................................................................64 3.4.1 Configuring the Compiler..........................................................................................................................64 3.4.2 Selecting Input Files...................................................................................................................................69 3.4.3 Compiling C Source Code Files.................................................................................................................70 3.5 Build Tools (Application Programs)...........................................................................................................................80 3.6 Startup Command-Line Options.................................................................................................................................81 3.7 Highlights....................................................................................................................................................................82 3.8 CodeWarrior Integration of Build Tools.....................................................................................................................82 3.8.1 Combined or Separated Installations.........................................................................................................83 3.8.2 HCS08 Compiler Build Settings Panels.....................................................................................................83 3.8.2.1 HCS08 Compiler......................................................................................................................85 3.8.2.2 HCS08 Compiler > Output......................................................................................................86 3.8.2.3 HCS08 Compiler > Output > Configure Listing File..............................................................88 3.8.2.4 HCS08 Compiler > Output > Configuration for list of included files in make format............89 CodeWarrior Development Studio for Microcontrollers V10.x HC(S)08 Build Tools Reference Manual, Rev. April 15, 2013 Freescale Semiconductor, Inc. 3 Section number Title Page 3.8.2.5 HCS08 Compiler > Input.........................................................................................................89 3.8.2.6 HCS08 Compiler > Language..................................................................................................93 3.8.2.7 HCS08 Compiler > Language > CompactC++ features..........................................................95 3.8.2.8 HCS08 Compiler > Host..........................................................................................................95 3.8.2.9 HCS08 Compiler > Code Generation......................................................................................96 3.8.2.10 HCS08 Compiler > Messages..................................................................................................98 3.8.2.11 HCS08 Compiler > Messages > Disable user messages..........................................................100 3.8.2.12 HCS08 Compiler > Preprocessor.............................................................................................101 3.8.2.13 HCS08 Compiler > Type Sizes................................................................................................104 3.8.2.14 HCS08 Compiler > General.....................................................................................................104 3.8.2.15 HCS08 Compiler > Optimization............................................................................................105 3.8.2.16 HCS08 Compiler > Optimization > Tree optimizer.................................................................107 3.8.2.17 HCS08 Compiler > Optimization > Optimize Library Function.............................................108 3.8.2.18 HCS08 Compiler > Optimization > Branch Optimizer...........................................................109 3.8.2.19 HCS08 Compiler > Optimization > Peephole Optimization...................................................110 3.8.3 CodeWarrior Tips and Tricks....................................................................................................................111 3.9 Integration into Microsoft Visual C++ 2008 Express Edition (Version 9.0 or later).................................................112 3.9.1 Integration as External Tools.....................................................................................................................112 3.9.2 Integration with Visual Studio Toolbar.....................................................................................................114 3.10 Compiler Modes and Language Extensions...............................................................................................................115 3.10.1 C++, EC++, compactC++..........................................................................................................................115 3.11 Object-File Formats....................................................................................................................................................117 3.11.1 HIWARE Object-File Format....................................................................................................................117 3.11.2 ELF/DWARF Object-File Format.............................................................................................................118 3.11.3 Tools...........................................................................................................................................................118 3.11.4 Mixing Object-File Formats.......................................................................................................................119 CodeWarrior Development Studio for Microcontrollers V10.x HC(S)08 Build Tools Reference Manual, Rev. April 15, 2013 4 Freescale Semiconductor, Inc. Section number Title Page Chapter 4 Graphical User Interface 4.1 Launching Compiler...................................................................................................................................................121 4.1.1 Interactive Mode........................................................................................................................................122 4.1.2 Batch Mode................................................................................................................................................122 4.2 Compiler Main Window.............................................................................................................................................123 4.2.1 Window Title.............................................................................................................................................124 4.2.2 Content Area..............................................................................................................................................124 4.2.3 Toolbar.......................................................................................................................................................126 4.2.4 Status Bar...................................................................................................................................................127 4.2.5 Compiler Menu Bar...................................................................................................................................127 4.2.6 File Menu...................................................................................................................................................128 4.2.7 Compiler Menu..........................................................................................................................................129 4.2.8 View Menu.................................................................................................................................................130

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1127 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us