diff --git a/builder/frameworks/arduino.py b/builder/frameworks/arduino.py index 04fb4b4a3..ea6ae4623 100644 --- a/builder/frameworks/arduino.py +++ b/builder/frameworks/arduino.py @@ -45,6 +45,7 @@ extra_flags = (''.join([element for element in board.get("build.extra_flags", "")])).replace("-D", " ") build_flags = ''.join([element.replace("-D", " ") for element in env.GetProjectOption("build_flags")]) framework_reinstall = False +flag_any_custom_sdkconfig = False if ("CORE32SOLO1" in extra_flags or "FRAMEWORK_ARDUINO_SOLO1" in build_flags) and ("arduino" in env.subst("$PIOFRAMEWORK")) and not flag_custom_sdkconfig: FRAMEWORK_DIR = platform.get_package_dir("framework-arduino-solo1")