Merge branch 'docs/fix_command_in_partition-tables_4.4' into 'release/v4.4'

docs: Fix a command in partition-tables.rst (backport v4.4)

See merge request espressif/esp-idf!18029
This commit is contained in:
morris 2022-05-07 16:57:14 +08:00
commit baa2748f23
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ The command-line interface of `parttool.py` has the following structure:
parttool.py --port "/dev/ttyUSB1" read_partition --partition-type=data --partition-subtype=spiffs --output "spiffs.bin"
# Write to partition 'factory' the contents of a file named 'factory.bin'
parttool.py --port "/dev/ttyUSB1" write_partition --partition-name=factory "factory.bin"
parttool.py --port "/dev/ttyUSB1" write_partition --partition-name=factory --input "factory.bin"
# Print the size of default boot partition
parttool.py --port "/dev/ttyUSB1" get_partition_info --partition-boot-default --info size

View File

@ -292,7 +292,7 @@ Python API
parttool.py --port "/dev/ttyUSB1" read_partition --partition-type=data --partition-subtype=spiffs --output "spiffs.bin"
# 将 'factory.bin' 文件中的内容写入到 'factory' 分区
parttool.py --port "/dev/ttyUSB1" write_partition --partition-name=factory "factory.bin"
parttool.py --port "/dev/ttyUSB1" write_partition --partition-name=factory --input "factory.bin"
# 打印默认启动分区的大小
parttool.py --port "/dev/ttyUSB1" get_partition_info --partition-boot-default --info size