We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c84e9f commit 977a629Copy full SHA for 977a629
builder/frameworks/arduino.py
@@ -66,7 +66,11 @@
66
FRAMEWORK_SDK_DIR = fs.to_unix_path(join(FRAMEWORK_LIB_DIR, mcu, "include"))
67
68
# Configuration flags
69
-entry_custom_sdkconfig = config.get(f"env:{pioenv}", "custom_sdkconfig", fallback="\n")
+if config.has_option(f"env:{pioenv}", "custom_sdkconfig"):
70
+ entry_custom_sdkconfig = config.get(f"env:{pioenv}", "custom_sdkconfig")
71
+else:
72
+ entry_custom_sdkconfig = "\n"
73
+
74
flag_custom_sdkconfig = (
75
config.has_option(f"env:{pioenv}", "custom_sdkconfig") or
76
len(str(board_sdkconfig)) > 2
0 commit comments