Hello, Keil uVision world! :)
Keil uVision project file contains some target's settings, stored as e.g. Device (C8051F340) or DevID (3997). How to use these values in the source text (e.g. for conditionally translation)?
For example:
#if DevID==3997 ... #endif
or
$if (DevID==3997) ... $endif
The answer from Keil:
currently this information cannot be directly accessed by the Compiler/Assembler. It is indented to be used by programming utilities and the help systems (by querying the environment variables).