Skip to content
6 changes: 6 additions & 0 deletions builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ def contains_path_traversal(url):
if "espidf.custom_sdkconfig" in board:
flag_custom_sdkonfig = True

pio_orig_frwrk = env.GetProjectOption("framework")
print("***** Framework read from Project Config:", pio_orig_frwrk)

if "espidf" in pio_orig_frwrk:
flag_custom_sdkonfig = False
print("**** HybridCompile switched off ****")

# Check for board-specific configurations that require sdkconfig generation
def has_board_specific_config():
Expand Down