The path definition of the IAR include file

Source: Internet
Author: User

1) In the text box that defines the path to the containing file, there are two important syntax for defining the path to the containing file.

One is $toolkit_dir$, this syntax means that the path containing the file is under the 8051 folder of the IAR installation path, that is, if the IAR is installed in the C drive, which means C:\Program Files\iar systems\embedded Workbench 4.05 Evaluation version\8051 this path.

The second is $proj_dir$, which means that the path to the containing file is in the project file, which is the same directory as the Eww file and the Ewp file. In the project project we just built, if you use this language, it means that the file now points to the C:\Documents and settings\administrator\ Desktop \project folder. There are two very important symbols used in conjunction with these two languages, which is "\.." and "\ Folder name". \.. : Indicates the return to the previous folder \ Folder name: Indicates a folder named "Folder Name". Let's take a look at two specific examples.
$TOOLKIT _dir$\inc\: The meaning of this sentence is to include the file pointing to C:\Program Files\iar
systems\embedded Workbench 4.05 Evaluation version\8051\inc.
$PROJ _dir$\. \source: This means that the containing file points to the Source folder in the previous level directory of the project directory. For example: Suppose our project is put in D:\project\IAR, which is $proj_dir$\. \ The path is pointed to D:\project, and then \source is executed, which means that the path is pointed to D:\project\Source.

2) in the text box of the macro definition file, is used for user customization of some macro definitions, his functions and define the similar, in the specific application of more bit conditional compilation, in this case, in the later application, will be based on the use of specific

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.