mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Autodetect flash size (#2615)
This commit is contained in:
parent
1a6a063e04
commit
b9e5c7eb35
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,8 @@ def upload_using_esptool(config, port):
|
|||
mcu,
|
||||
"write_flash",
|
||||
"-z",
|
||||
"--flash_size",
|
||||
"detect",
|
||||
]
|
||||
for img in flash_images:
|
||||
cmd += [img.offset, img.path]
|
||||
|
|
Loading…
Reference in a new issue