Skip to content

Commit fe6719b

Browse files
authored
Change framework retrieval method in espidf.py
1 parent b519217 commit fe6719b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,9 @@ def contains_path_traversal(url):
233233
if "espidf.custom_sdkconfig" in board:
234234
flag_custom_sdkonfig = True
235235

236-
pio_orig_frwrk = config.get("framework")
236+
pio_orig_frwrk = env.GetProjectOption("framework")
237237
print("***** Framework read from Project Config:", pio_orig_frwrk)
238+
238239
if "espidf" in pio_orig_frwrk:
239240
flag_custom_sdkonfig = False
240241
print("**** HybridCompile switched off ****")

0 commit comments

Comments
 (0)