mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 17:28:01 +01:00
Autodetect flash size (#2615)
This commit is contained in:
parent
9aaaf4dd4b
commit
2abe09529a
@ -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 New Issue
Block a user