mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'bugfix/read_ota_partition_required_output_arg_v4.2' into 'release/v4.2'
otatool: Fixes read_ota_partition cmd, required output arg (v4.2) See merge request espressif/esp-idf!13673
This commit is contained in:
@@ -288,7 +288,7 @@ The command-line interface of `otatool.py` has the following structure:
|
|||||||
otatool.py --port "/dev/ttyUSB1" switch_ota_partition --slot 1
|
otatool.py --port "/dev/ttyUSB1" switch_ota_partition --slot 1
|
||||||
|
|
||||||
# Read OTA partition 'ota_3' and save contents to a file named 'ota_3.bin'
|
# Read OTA partition 'ota_3' and save contents to a file named 'ota_3.bin'
|
||||||
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3
|
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3 --output=ota_3.bin
|
||||||
|
|
||||||
|
|
||||||
More information can be obtained by specifying `--help` as argument:
|
More information can be obtained by specifying `--help` as argument:
|
||||||
|
@@ -269,7 +269,7 @@ Python API
|
|||||||
otatool.py --port "/dev/ttyUSB1" switch_ota_partition --slot 1
|
otatool.py --port "/dev/ttyUSB1" switch_ota_partition --slot 1
|
||||||
|
|
||||||
# 读取 OTA 分区 'ota_3',将内容保存至文件 'ota_3.bin'
|
# 读取 OTA 分区 'ota_3',将内容保存至文件 'ota_3.bin'
|
||||||
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3
|
otatool.py --port "/dev/ttyUSB1" read_ota_partition --name=ota_3 --output=ota_3.bin
|
||||||
|
|
||||||
|
|
||||||
更多信息可用 `--help` 指令查看:
|
更多信息可用 `--help` 指令查看:
|
||||||
|
Reference in New Issue
Block a user