Set default value for flash_size field // Resolve #364

This commit is contained in:
Valerii Koval
2020-06-12 15:51:21 +03:00
parent fa2083e542
commit 6d85d3b29b
+1 -1
View File
@@ -808,7 +808,7 @@ partition_table = env.Command(
'"$PYTHONEXE" "%s" -q --flash-size "%s" $SOURCE $TARGET'
% (
join(FRAMEWORK_DIR, "components", "partition_table", "gen_esp32part.py"),
board.get("upload.flash_size", "detect"),
board.get("upload.flash_size", "4MB"),
),
"Generating partitions $TARGET",
),