创建页面,内容为“<syntaxhighlight lang="bash"> FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py/CMakeFiles/app_check_size cd /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py && /Users/riguz/.espressif/python_env/idf5.5_py3.12_env/bin/python /Users/riguz/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/riguz/Workspace/embedded/…” |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
Partition Tables <ref>https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html</ref> | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py/CMakeFiles/app_check_size | FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py/CMakeFiles/app_check_size | ||
第13行: | 第15行: | ||
Create "partitions.csv": | Create "partitions.csv": | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="ini"> | ||
# Name, Type, SubType, Offset, Size, Flags | # Name, Type, SubType, Offset, Size, Flags | ||
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap | # Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap | ||
第22行: | 第24行: | ||
Configure via "idf.py menuconfig": | Configure via "idf.py menuconfig": | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
→ Partition Table | → Partition Table |
2025年4月6日 (日) 13:42的最新版本
Partition Tables [1]
FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py/CMakeFiles/app_check_size
cd /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py && /Users/riguz/.espressif/python_env/idf5.5_py3.12_env/bin/python /Users/riguz/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/partition_table/partition-table.bin /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/walle.bin
Error: app partition is too small for binary walle.bin size 0x108860:
- Part 'factory' 0/0 @ 0x10000 size 0x100000 (overflow 0x8860)
$ ls -lh build | grep walle.bin
-rw-r--r-- 1 riguz staff 1.0M Apr 6 21:28 walle.bin
Create "partitions.csv":
# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
nvs, data, nvs, , 0x6000,
phy_init, data, phy, , 0x1000,
factory, app, factory, , 0x200000, # 2MB for app
Configure via "idf.py menuconfig":
→ Partition Table
[ ] Use default partition table
(X) Use custom partition table CSV
(partitions.csv) Custom partition CSV file name