|
Technical Support Support Resources Product Information | µVISION: ENVRIONMENT VARIABLES FOR BUILD PROCESS
Information in this article applies to: - µVision Version 3.00 or higher
- C51 All Versions
- C251 All Versions
- C166 All Versions
- RealView MDK All Versions
QUESTIONWhat information is available during the build process for user programs? ANSWERWhen the build process is started, µVision exports the following environment variables:
SET C51INC=C:\Keil\C51\INC\Intel\;C:\Keil\C51\INC\
SET C51LIB=C:\Keil\C51\LIB
SET CPU_TYPE=80C51FA
SET CPU_VENDOR=Intel
SET UV2_TARGET=Target 1
SET CPU_XTAL=0x02DC6C00
These variables provide the following information: - C51INC is the path to include file folders. This path is used by the C Compiler.
- C51LIB is the path to include file folders. This path is used by the Linker/Locater to locate the run-time libraries.
- CPU_TYPE is the name of the device selected from the device database. This variable is not used by Keil tools, but maybe used from external translators.
- CPU_VENDOR is the name of the silicon vendor selected from the device database. This variable is not used by Keil tools, but maybe used from external translators.
- UV2_TARGET is the project target selected in µVision. This variable is not used by Keil tools, but maybe used from external translators.
- CPU_XTAL is the XTAL frequency selected in the dialog Project - Options - Target. This variable is not used by Keil tools, but maybe used from external translators.
MORE INFORMATIONSEE ALSOLast Reviewed: Monday, March 03, 2008
|
|