ARM Technical Support Knowledge Articles


Applies to: uVision IDE


Information in this article applies to:


I have version 7.0 of PC-Lint and want to install it in my PK51 package. What is the installation procedure?


  1. Install PC-Lint as described in the PC-Lint Manual.
  2. Start uVision and Select Setup PC-Lint from the Tools menu.
  3. Specify the path to the PC-Lint program in the Lint Executable input line. Usually, this is C:\LINT\LINT-NT.EXE.
  4. Specify the configuration file to use in the Configuration File input line. Usually, this will be something like C:\KEIL\C51\BIN\CO-KC51.LNT, C:\KEIL\C166\BIN\CO-KC166.LNT, or C:\KEIL\C251\BIN\CO-KC251.LNT depending on whether you use the C51, C166, or C251 compiler.

You are now ready to lint your source files. From the Tools menu, the Lint and Lint All Source Files selections, run PC-Lint. The output from PC-Lint displays in the Output Window.

To ensure that the results in the Output Window are correct, PC-Lint Version 7.0 MUST HAVE the following options:

-format="*** LINT: %(%f(%l) )%)%t %n: %m"

Later PC-Lint versions must be configured with the following options for proper output:

-format="*** LINT: %(%f(%l) )%)%t %n: %m"

These options are specified in the .LNT files mentioned above.



Article last edited on: 2011-01-20 10:41:03

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential