IAR usage Record

Source: Internet
Author: User

1. Project-->options ...

Change Device: General-->target-->device

Add other directories you need to include: Compiler-->preprocessor-->additional included dir. e.g. $PROJ _dir$\. \inc

Connector configuration files (xcl files): Linker-->config-->linker configration file. Refer to document:help--> "IAR Linker ..."

Emulation mode selection: Debugger-->setup-->driver. e.g. FET Debugger

Project Output selection: General-->output-->output File. e.g Lib

2. File structure

The IAR's storage unit is workspace, not project.

A workspace can contain multiple projects at the same time, and an empty workspace can be started by file-->new-->workspace. The suffix of workspace is "Eww", and the project suffix is "EWP".

Multiple group can be added in a project. For example, you can add a libraries group and then add the required libraries.

3. Intrinsic function

__even_in_range () and other functions or variables that end with "__" are internal functions of the IAR, which we basically do not see in the code, but only the declarations.

To use these functions, you need to include the header file "Intrinsic.h".

The use of these functions, you can refer to help--> "C + + compiler ..."

IAR usage Record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.