Skip to content

Commit 46ac6a7

Browse files
authored
solid check, does only fire when entrys there
1 parent cfc3720 commit 46ac6a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ def _configure_espidf_framework(
323323
board_config.get("espidf.custom_sdkconfig", "")
324324
)
325325

326-
if custom_sdkconfig or board_sdkconfig:
326+
if (custom_sdkconfig and custom_sdkconfig.strip()) or \
327+
(board_sdkconfig and board_sdkconfig.strip()):
327328
frameworks.append("espidf")
328329
self.packages["framework-espidf"]["optional"] = False
329330
if mcu == "esp32c2":

0 commit comments

Comments
 (0)