Merge pull request #15577 from s-hadinger/flash_no_fs

Board allow no 'flash_size'
This commit is contained in:
Theo Arends 2022-05-10 09:03:31 +02:00 committed by GitHub
commit 4c87b3be67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,