From aa097f3fd6effe93c0b5bf501fce64eee406f5df Mon Sep 17 00:00:00 2001 From: valeros Date: Thu, 7 Oct 2021 14:59:08 +0300 Subject: [PATCH] Update Cppcheck to v2.6.0 // Resolve #3942 --- HISTORY.rst | 1 + platformio/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index e0bf1ad0..a3f404ff 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -12,6 +12,7 @@ PlatformIO Core 5 ~~~~~~~~~~~~~~~~~~ - Allowed to override a default library builder via a new ``builder`` field in a ``build`` group of `library.json `__ manifest (`issue #3957 `_) +- Updated `Cppcheck `__ v2.6 with new checks, increased reliability of advanced addons (MISRA/CERT) and various improvements - Handle the "test" folder as a part of CLion project (`issue #4005 `_) - Improved handling of a library root based on "Conan" or "CMake" build systems (`issue #3887 `_) - Fixed a "KeyError: Invalid board option 'build.cpu'" when using a precompiled library with a board that does not have a CPU field in the manifest (`issue #4056 `_) diff --git a/platformio/__init__.py b/platformio/__init__.py index 807d8704..2ab19c19 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -51,7 +51,7 @@ __core_packages__ = { "contrib-pysite": "~2.%d%d.0" % (sys.version_info.major, sys.version_info.minor), "tool-unity": "~1.20500.0", "tool-scons": "~4.40200.0", - "tool-cppcheck": "~1.250.0", + "tool-cppcheck": "~1.260.0", "tool-clangtidy": "~1.120001.0", "tool-pvs-studio": "~7.14.0", }