mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
commit
baa2748f23
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user