Skip to content

Commit 0ed9a85

Browse files
committed
Update default flash size value in merging procedure
1 parent 006d64e commit 0ed9a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def merge_binaries(source, target, env, for_signature):
167167
"--chip", mcu, "merge_bin",
168168
"-o", "$TARGET",
169169
"--flash_mode", "$BOARD_FLASH_MODE",
170-
"--flash_size", board.get("upload.flash_size", "detect"),
170+
"--flash_size", board.get("upload.flash_size", "4MB"),
171171
"$ESP32_APP_OFFSET", "$SOURCES"
172172
] + ['"%s"' % itm for img in env.get("FLASH_EXTRA_IMAGES", []) for itm in img])
173173

0 commit comments

Comments
 (0)