From 2b7840abf3286fd7c127b01bd446a34e613b175f Mon Sep 17 00:00:00 2001 From: Ollo Date: Wed, 9 Dec 2020 21:44:33 +0100 Subject: [PATCH] Added Cppcheck project file for static code analysis --- esp32/.gitignore | 2 ++ esp32/staticCodeAnalysis.cppcheck | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 esp32/staticCodeAnalysis.cppcheck diff --git a/esp32/.gitignore b/esp32/.gitignore index a62a7d9..56d8d09 100644 --- a/esp32/.gitignore +++ b/esp32/.gitignore @@ -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 diff --git a/esp32/staticCodeAnalysis.cppcheck b/esp32/staticCodeAnalysis.cppcheck new file mode 100644 index 0000000..d215b79 --- /dev/null +++ b/esp32/staticCodeAnalysis.cppcheck @@ -0,0 +1,16 @@ + + + cppcheck-build-dir + arm32-wchar_t4.xml + false + true + false + 10 + + + + + + cppcheck-lib + +