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