ARM Technical Support Knowledge Articles

FINDING ASSEMBLER INCLUDE FILES

Applies to: uVision IDE

Answer


Information in this article applies to:


SYMPTOMS

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?

CAUSE

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.

RESOLUTION

Move your include file to the default ASM folder that was created when you installed uVision, which is typically:

C:KeilC166ASM

or specify the entire path to your include file when using the INCLUDE directive.

Article last edited on: 2004-06-08 12:54:03

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential