µVISION: FINDING ASSEMBLER INCLUDE FILES
Information in this article applies to:
I have written an include file for my assembly code project and placed it in my INC folder. I have specified the path to my INC folder in the Target Environment dialog. When I build my project, I get the following error:
A166 FATAL ERROR - FILE: DEFS.INC ERROR: CAN'T OPEN FILE
However, my C project can find the header files that I have placed in my INC folder. Why is this?
C header files should be located in the INC folder. Assembler include files should be located in the ASM folder. However, you cannot specify a path to your ASM folder in the Target Environment dialog.
Move your include file to the default ASM folder that was created when you installed µVision, which is typically:
or specify the entire path to your include file when using the INCLUDE directive.
Last Reviewed: Tuesday, June 8, 2004
of your data.