Skip to content

Commit 54ca558

Browse files
authored
no custom_sdkconfig for Arduino as an component of IDF
1 parent 2023416 commit 54ca558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def HandleCOMPONENTsettings(env):
369369
if flag_custom_component_add == True or flag_custom_component_remove == True:
370370
HandleCOMPONENTsettings(env)
371371

372-
if flag_custom_sdkonfig == True and "arduino" in env.subst("$PIOFRAMEWORK"):
372+
if flag_custom_sdkonfig == True and "arduino" in env.subst("$PIOFRAMEWORK") and "espidf" not in env.subst("$PIOFRAMEWORK"):
373373
HandleArduinoIDFsettings(env)
374374
LIB_SOURCE = os.path.join(ProjectConfig.get_instance().get("platformio", "platforms_dir"), "espressif32", "builder", "build_lib")
375375
if not bool(os.path.exists(os.path.join(PROJECT_DIR, ".dummy"))):

0 commit comments

Comments
 (0)