Added Cppcheck project file for static code analysis
This commit is contained in:
parent
dd31122ed3
commit
2b7840abf3
2
esp32/.gitignore
vendored
2
esp32/.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
*.swp
|
||||||
.pio
|
.pio
|
||||||
.vscode/.browse.c_cpp.db*
|
.vscode/.browse.c_cpp.db*
|
||||||
.vscode/c_cpp_properties.json
|
.vscode/c_cpp_properties.json
|
||||||
@ -5,3 +6,4 @@
|
|||||||
.vscode/ipch
|
.vscode/ipch
|
||||||
doc/
|
doc/
|
||||||
custom_platformio.ini
|
custom_platformio.ini
|
||||||
|
cppcheck-build-dir
|
||||||
|
16
esp32/staticCodeAnalysis.cppcheck
Normal file
16
esp32/staticCodeAnalysis.cppcheck
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="1">
|
||||||
|
<builddir>cppcheck-build-dir</builddir>
|
||||||
|
<platform>arm32-wchar_t4.xml</platform>
|
||||||
|
<analyze-all-vs-configs>false</analyze-all-vs-configs>
|
||||||
|
<check-headers>true</check-headers>
|
||||||
|
<check-unused-templates>false</check-unused-templates>
|
||||||
|
<max-ctu-depth>10</max-ctu-depth>
|
||||||
|
<paths>
|
||||||
|
<dir name="src"/>
|
||||||
|
<dir name="include"/>
|
||||||
|
</paths>
|
||||||
|
<libraries>
|
||||||
|
<library>cppcheck-lib</library>
|
||||||
|
</libraries>
|
||||||
|
</project>
|
Loading…
Reference in New Issue
Block a user