If you run the Cx51 Compiler within µVision IDE, you do not need
any additional settings on your computer. If you want to run the Cx51
Compiler and utilities from the command prompt, you must manually
create the following environment variables.
Variable
Path
Description
PATH
\KEIL\C51\BIN
Path to the C51 and CX51 executable programs.
TMP
Path to use for temporary files generated by the
compiler. If the specified path does not exist, the compiler
generates an error and aborts compilation.
C51INC
\KEIL\C51\INC
Path to the folder for Cx51 include files.
C51LIB
\KEIL\C51\LIB
Path to the folder for Cx51 library files.
Environment variables are entered under Control Panel — System
— Advanced — Environment Variables.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.