1.
1. 安装:下载楼主已经配置好了的pclink
楼主的pclink下载路径
https://download.csdn.net/download/qq1319713925/10339431
2. 将pclink.rar放到C盘下并解压得到C:\lint目录
3.
4.
5.
6.
7. "C:\lint\lint-nt.exe" -u -w0 -e322 -ic:\lint std env-si monitor
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
使用pclink来静态检查代码
1. 找到自己的代码路径拷贝出来
2.
3.
4. Dir E:\work\project\chip_transform\tef1109p\code\*.c E:\work\project\chip_transform\tef1109p\code\*.h /s /b > c:\lint\monitor.lnt
5. 手动修改c:/lint/std.lnt,在其中加入自己代码中涉及到的头文件的路径。
6.
7.
8.
大功告成!