Skip to content

Commit 6d85d3b

Browse files
committed
Set default value for flash_size field // Resolve platformio#364
1 parent fa2083e commit 6d85d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def find_default_component(target_configs):
808808
'"$PYTHONEXE" "%s" -q --flash-size "%s" $SOURCE $TARGET'
809809
% (
810810
join(FRAMEWORK_DIR, "components", "partition_table", "gen_esp32part.py"),
811-
board.get("upload.flash_size", "detect"),
811+
board.get("upload.flash_size", "4MB"),
812812
),
813813
"Generating partitions $TARGET",
814814
),

0 commit comments

Comments
 (0)