|ARM Technical Support Knowledge Articles|
Applies to: General Topics
Information in this article applies to:
I want to use the #include command with a filename that is specified with the compiler DEFINE directive. Is this possible? What is the correct syntax for the DEFINE directive?
Yes, this is possible, just use the following syntax in your C source code:
In µVision you may just enter under Options for Target - C51 - Define:
If you are using the compiler on the command line, you may write:
C51 source.c DEFINE(DATA_H="<filename.h>")
Article last edited on: 2004-05-01 15:20:41
Did you find this article helpful? Yes No
How can we improve this article?