From 86db237e5daef79ce468daf7c5a6d0e83026d6bd Mon Sep 17 00:00:00 2001 From: valeros Date: Tue, 23 Mar 2021 21:17:32 +0200 Subject: [PATCH] Update Cppcheck and PVS-Studio packages // Resolve #3898 --- HISTORY.rst | 7 +++++++ platformio/__init__.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 3ea37b58..3f602892 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,6 +20,13 @@ PlatformIO Core 5 - Configure a custom pattern to determine when debugging server is started with a new `debug_server_ready_pattern `__ option - Fixed an issue with silent hanging when a custom debug server is not found (`issue #3756 `_) +* **Static Code Analysis** + + - Updated analysis tools: + + * `Cppcheck `__ v2.4.1 with new checks and MISRA improvements + * `PVS-Studio `__ v7.12 with new diagnostics and extended capabilities for security and safety standards + 5.1.1 (2021-03-17) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/__init__.py b/platformio/__init__.py index 26440999..da045cf5 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -51,9 +51,9 @@ __core_packages__ = { "contrib-pysite": "~2.%d%d.0" % (sys.version_info.major, sys.version_info.minor), "tool-unity": "~1.20500.0", "tool-scons": "~4.40100.2", - "tool-cppcheck": "~1.230.0", + "tool-cppcheck": "~1.241.0", "tool-clangtidy": "~1.100000.0", - "tool-pvs-studio": "~7.11.0", + "tool-pvs-studio": "~7.12.0", } __check_internet_hosts__ = [