Skip to content

Commit 523f970

Browse files
authored
Update arduino.py
1 parent 6177cc1 commit 523f970

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

builder/frameworks/arduino.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@ def safe_remove_sdkconfig_files():
566566
if config.has_option(current_env_section, "custom_component_remove"):
567567
flag_custom_component_remove = True
568568

569+
if config.has_option("env:"+env["PIOENV"], "custom_sdkconfig"):
570+
entry_custom_sdkconfig = env.GetProjectOption("custom_sdkconfig")
571+
flag_custom_sdkconfig = True
572+
569573
# Custom SDKConfig check
570574
if config.has_option(current_env_section, "custom_sdkconfig"):
571575
entry_custom_sdkconfig = env.GetProjectOption("custom_sdkconfig")

0 commit comments

Comments
 (0)