Board allow no 'flash_size'

This commit is contained in:
Stephan Hadinger 2022-05-10 08:24:56 +02:00
parent a8b7e501d9
commit 4d8a68ddc5
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def esp32_create_combined_bin(source, target, env):
esp32_copy_new_safeboot_bin(chip,firmware_name)
else:
esp32_fetch_safeboot_bin(chip)
flash_size = env.BoardConfig().get("upload.flash_size")
flash_size = env.BoardConfig().get("upload.flash_size", "4MB")
cmd = [
"--chip",
chip,