Keil Logo

Environment Settings

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.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.