没有合适的资源?快使用搜索试试~ 我知道了~
首页EWARM_DevelopmentGuide.ENU.pdf
EWARM_DevelopmentGuide.ENU.pdf
5星 · 超过95%的资源 需积分: 11 16 下载量 189 浏览量
更新于2023-03-16
评论
收藏 6.41MB PDF 举报
EWARM_DevelopmentGuide.ENU.pdf IAR开发指南 IAR C/C++ Development Guide Compiling and Linking
资源详情
资源评论
资源推荐
DARM-23
IAR C/C++ Development
Guide
Compiling and Linking
for Arm Limited’s
Arm® Cores
AFE1_AFE2-1:1
2
IAR C/C++ Development Guide
Compiling and Linking for Arm
COPYRIGHT NOTICE
© 1999–2017 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, IAR Connect, C-SPY, C-RUN, C-STAT,
IAR Visual State, visualSTATE, 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.
Arm, Cortex, Thumb, and TrustZone are registered trademarks of Arm Limited.
EmbeddedICE is a trademark of Arm Limited. uC/OS-II and uC/OS-III are trademarks
of Micrium, Inc. CMX-RTX is a trademark of CMX Systems, Inc. ThreadX is a
trademark of Express Logic. RTXC is a trademark of Quadros Systems. Fusion is a
trademark of Unicoi Systems.
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
Twenty-third edition: October 2017
Part number: DARM-23
This guide applies to version 8.20.x of IAR Embedded Workbench® for Arm.
Internal reference: BB2, csrct2010.1, V_110411, IMAE.
AFE1_AFE2-1:1
3
Brief contents
Tables ..................................................................................................................... 39
Preface .................................................................................................................... 41
Part 1. Using the build tools ................................................... 49
Introduction to the IAR build tools ........................................................ 51
Developing embedded applications ........................................................ 57
Data storage ...................................................................................................... 71
Functions ............................................................................................................... 75
Linking using ILINK ........................................................................................ 87
Linking your application .............................................................................. 105
The DLIB runtime environment ........................................................... 119
Assembler language interface ................................................................. 157
Using C ................................................................................................................ 181
Using C++ .......................................................................................................... 189
Application-related considerations ....................................................... 199
Efficient coding for embedded applications ...................................... 219
Part 2. Reference information ........................................... 239
External interface details ............................................................................ 241
Compiler options ........................................................................................... 251
Linker options .................................................................................................. 301
Data representation ...................................................................................... 339
Extended keywords ...................................................................................... 355
AFE1_AFE2-1:1
4
IAR C/C++ Development Guide
Compiling and Linking for Arm
Pragma directives ........................................................................................... 373
Intrinsic functions ........................................................................................... 399
The preprocessor .......................................................................................... 451
C/C++ standard library functions .......................................................... 463
The linker configuration file ...................................................................... 475
Section reference ........................................................................................... 505
The stack usage control file ...................................................................... 511
IAR utilities ........................................................................................................ 519
Implementation-defined behavior for Standard C ........................ 565
Implementation-defined behavior for C89 ....................................... 585
Index ..................................................................................................................... 597
AFE1_AFE2-1:1
5
Contents
Tables ..................................................................................................................... 39
Preface .................................................................................................................... 41
Who should read this guide ............................................................... 41
Required knowledge .......................................................................... 41
How to use this guide .......................................................................... 41
What this guide contains ................................................................... 42
Part 1. Using the build tools ............................................................... 42
Part 2. Reference information ............................................................ 42
Other documentation ........................................................................... 43
User and reference guides .................................................................. 44
The online help system ...................................................................... 44
Further reading ................................................................................... 45
Web sites ............................................................................................ 45
Document conventions ........................................................................ 46
Typographic conventions ................................................................... 46
Naming conventions .......................................................................... 47
Part 1. Using the build tools ................................................... 49
Introduction to the IAR build tools ........................................................ 51
The IAR build tools—an overview ................................................... 51
IAR C/C++ Compiler ......................................................................... 51
IAR Assembler ................................................................................... 52
The IAR ILINK Linker ...................................................................... 52
Specific ELF tools .............................................................................. 52
External tools ..................................................................................... 52
IAR language overview ......................................................................... 53
Device support ......................................................................................... 53
Supported Arm devices ...................................................................... 53
Preconfigured support files ................................................................ 54
Examples for getting started .............................................................. 54
剩余634页未读,继续阅读
dsters
- 粉丝: 29
- 资源: 81
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1