mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-25 14:36:36 +03:00
fix(https_request): use write_flash esptool subcommand for compatibility
The esptool version bundled with the release/v5.5 IDF environment only accepts the underscore subcommand name 'write_flash'. The hyphenated alias 'write-flash' is rejected by argparse on this esptool version. Use the canonical 'write_flash' name accepted by all esptool versions.
This commit is contained in:
@@ -97,7 +97,7 @@ def write_time_to_nvs(dut: Dut) -> None:
|
||||
with dut.serial.disable_redirect_thread():
|
||||
dut.serial.esp.connect()
|
||||
esptool.main(
|
||||
['write-flash', '--no-compress', hex(nvs_offset), bin_file],
|
||||
['write_flash', '--no-compress', hex(nvs_offset), bin_file],
|
||||
esp=dut.serial.esp,
|
||||
)
|
||||
settings = dut.serial.proc.get_settings()
|
||||
|
||||
Reference in New Issue
Block a user