From 2eecbf966cc03ae30fb2f57a8807553669a7dd5f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 23 Aug 2019 15:45:45 +0300 Subject: [PATCH] Fixed an issue with a broken LDF when checking for framework compatibility // Resolve #2940 --- HISTORY.rst | 5 +++++ platformio/builder/tools/piolib.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index c941ba72..0cc2bb91 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -6,6 +6,11 @@ Release Notes PlatformIO 4.0 -------------- +4.0.2 (2019-08-??) +~~~~~~~~~~~~~~~~~~ + +* Fixed an issue with a broken `LDF `__ when checking for framework compatibility (`issue #2940 `_) + 4.0.1 (2019-08-22) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/builder/tools/piolib.py b/platformio/builder/tools/piolib.py index 1848cbf7..b5ace28c 100644 --- a/platformio/builder/tools/piolib.py +++ b/platformio/builder/tools/piolib.py @@ -755,7 +755,7 @@ class PlatformIOLibBuilder(LibBuilderBase): @property def lib_compat_mode(self): - return self.validate_ldf_mode( + return self.validate_compat_mode( self.env.GetProjectOption( "lib_compat_mode", self._manifest.get("build", {}).get(