|ARM Technical Support Knowledge Articles|
Applies to: uVision IDE
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 uVision, which is typically:
or specify the entire path to your include file when using the INCLUDE directive.
Article last edited on: 2004-06-08 12:54:03
Did you find this article helpful? Yes No
How can we improve this article?