Added Cppcheck project file for static code analysis

This commit is contained in:
Ollo 2020-12-09 21:44:33 +01:00
parent dd31122ed3
commit 2b7840abf3
2 changed files with 18 additions and 0 deletions

2
esp32/.gitignore vendored
View File

@ -1,3 +1,4 @@
*.swp
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
@ -5,3 +6,4 @@
.vscode/ipch
doc/
custom_platformio.ini
cppcheck-build-dir

View 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>