1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-05 21:02:20 +01:00

missed some

This commit is contained in:
J. Nick Koston
2025-08-01 11:15:34 -10:00
parent 7c12f1a5bf
commit 3aaf11f404
2 changed files with 4 additions and 4 deletions

View File

@@ -290,7 +290,7 @@ def upload_using_esptool(config, port, file, speed):
mcu, mcu,
"write_flash", "write_flash",
"-z", "-z",
"--flash_size", "--flash-size",
"detect", "detect",
] ]
for img in flash_images: for img in flash_images:

View File

@@ -93,8 +93,8 @@ def merge_factory_bin(source, target, env):
"esptool", "esptool",
"--chip", "--chip",
chip, chip,
"merge_bin", "merge-bin",
"--flash_size", "--flash-size",
flash_size, flash_size,
"--output", "--output",
str(output_path), str(output_path),
@@ -110,7 +110,7 @@ def merge_factory_bin(source, target, env):
if result == 0: if result == 0:
print(f"Successfully created {output_path}") print(f"Successfully created {output_path}")
else: else:
print(f"Error: esptool merge_bin failed with code {result}") print(f"Error: esptool merge-bin failed with code {result}")
def esp32_copy_ota_bin(source, target, env): def esp32_copy_ota_bin(source, target, env):