Skip to content

Commit 62b6f90

Browse files
authored
change override order for custom sdkconfig settings
low to High - file - board manifest - pio entry
1 parent 5fb8ffd commit 62b6f90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/frameworks/espidf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ def custom_sdkconfig_file(string):
239239
idf_config_flags = custom_sdk_config_flags
240240
if custom_sdkconfig_file_str != "":
241241
sdkconfig_file_flags = custom_sdkconfig_file_str + "\n"
242-
idf_config_flags = idf_config_flags + sdkconfig_file_flags
243-
idf_config_flags = idf_config_flags + board_idf_config_flags
242+
idf_config_flags = sdkconfig_file_flags + idf_config_flags
243+
idf_config_flags = board_idf_config_flags + idf_config_flags
244244
if flash_frequency != "80m":
245245
idf_config_flags = idf_config_flags + "# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set\n"
246246
esptool_flashfreq_y = "CONFIG_ESPTOOLPY_FLASHFREQ_%s=y\n" % flash_frequency.upper()

0 commit comments

Comments
 (0)