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