首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁ESP32 partition”︁的源代码
←
ESP32 partition
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<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/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) </syntaxhighlight> <syntaxhighlight lang="python"> $ ls -lh build | grep walle.bin -rw-r--r-- 1 riguz staff 1.0M Apr 6 21:28 walle.bin </syntaxhighlight> Create "partitions.csv": <syntaxhighlight lang="ini"> # 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 </syntaxhighlight> Configure via "idf.py menuconfig": <syntaxhighlight lang="bash"> → Partition Table [ ] Use default partition table (X) Use custom partition table CSV (partitions.csv) Custom partition CSV file name </syntaxhighlight> [[Category:ESP32]] [[Category:Embedded]]
返回
ESP32 partition
。