From 9ede20a367d379019528f95ef80e44ac209da9e4 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 19 Mar 2021 13:10:29 +0200 Subject: [PATCH] Disable checking for "__PLATFORMIO_BUILD_DEBUG__" that is not available in g2 mode --- platformio/debug/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/debug/helpers.py b/platformio/debug/helpers.py index a412ad5e..fc6e0116 100644 --- a/platformio/debug/helpers.py +++ b/platformio/debug/helpers.py @@ -92,7 +92,7 @@ def has_debug_symbols(prog_path): b".debug_abbrev": False, b" -Og": False, b" -g": False, - b"__PLATFORMIO_BUILD_DEBUG__": False, + # b"__PLATFORMIO_BUILD_DEBUG__": False, } with open(prog_path, "rb") as fp: last_data = b""