Keil™, An ARM® Company

Technical Support

A51: INCDIR DIRECTIVE


Information in this article applies to:

  • C51 Version 6.01

QUESTION

What does the INCDIR directive do?

ANSWER

The INCDIR directive (abbreviation ID) allows you to supply one or more paths to search when a $INCLUDE directive is processed by the assembler. For example:

  $INCDIR (C:\C51\ASM)
  A51 STARTUP.A51 INCDIR (C:\C51\INC,C:\MYDIR)

The search order for $INCLUDE is as follows:

  • The current directory (typical the folder of the µVision2 project file).
  • Paths specified with $INCDIR.
  • The path derrived from the bin directory with ..\asm path. This is C:\Keil\C51\Asm in default installations.

SEE ALSO

Last Reviewed: Monday, April 08, 2002


Did this article provide the answer you needed?
 
Yes
No
Not Sure