Skip to content

Commit

Permalink
Update espidf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Nov 8, 2024
1 parent 01e5d65 commit ce206c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/frameworks/espidf.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ def get_MD5_hash(phrase):
custom_sdk_config_flags = env.GetProjectOption("custom_sdkconfig")

if "espidf.custom_sdkconfig" in board:
board_idf_config_flags = '\n'.join([element for element in board.get("espidf.custom_sdkconfig", "")]) + "\n"
board_idf_config_flags = '\n'.join([element for element in board.get("espidf.custom_sdkconfig", "")])
flag_custom_sdkonfig = True

if flag_custom_sdkonfig == True: # TDOO duplicated
print("*** Add \"custom_sdkconfig\" settings to IDF sdkconfig.defaults ***")
idf_config_flags = custom_sdk_config_flags
idf_config_flags = idf_config_flags + "\n" + board_idf_config_flags
idf_config_flags = idf_config_flags + "\n" + board_idf_config_flags + "\n"
if flash_frequency != "80m":
idf_config_flags = idf_config_flags + "# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set\n"
esptool_flashfreq_y = "CONFIG_ESPTOOLPY_FLASHFREQ_%s=y\n" % flash_frequency.upper()
Expand Down

0 comments on commit ce206c5

Please sign in to comment.