Skip to content

Commit 6043874

Browse files
committed
Split out ram dependent configs
1 parent feabf7b commit 6043874

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ports/espressif/tools/update_sdkconfig.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,18 @@ def update(debug, board, update_all):
234234
print(" " * len(current_group), i, config_string.strip())
235235

236236
target_reference = False
237+
board_reference = False
237238
for referenced in item.referenced:
238239
if referenced.name.startswith("IDF_TARGET"):
239240
# print(item.name, "references", referenced.name)
240241
target_reference = True
241242
break
243+
if referenced.name == "SPIRAM":
244+
board_reference = True
242245

243246
if (not update_all and not matches_cp_default) or (
244247
update_all
245-
and matches_group(config_string, BOARD_SETTINGS)
248+
and (matches_group(config_string, BOARD_SETTINGS) or board_reference)
246249
and not matches_esp_default
247250
):
248251
print(" " * (len(current_group) + 1), "board")

0 commit comments

Comments
 (0)