ESP32C5-WROOM-N16R4的BootLoader分区尺寸问题
Posted: Mon Jun 16, 2025 10:51 am
刚刚拿到一个ESP32C5模组,尝试编译hello_world程序做测试,使用的是当前最新的master分支(IDF6.0-dev-527)当选择启用Simulate eFuse operations in RAM下属的Log all virtual writes和Keep eFuses in flash两个选项后,会出现BootLoader分区溢出的情况,报错:
试了一下ESP32C6相同配置下启用模拟熔丝位和记录熔丝位到闪存,BootLoader分区下仍有21%剩余空间,由于这两个选项在diy开发过程中属于绝对刚需,并且在什么改动都不做直接编译ESP32C5程序时BootLoader分区就仅仅剩余11%空间了,若开启了LogV2和自定义Flash驱动等功能稍有不慎就超过了容量限制。
所以是否考虑在ESP32C5平台上适当压缩BootLoader程序尺寸,或扩充BootLoader分区的默认大小,或者提供其他裁剪Bootloader尺寸的选项?同时好奇为啥ESP32C5的BootLoader大了这么多,感觉和ESP32C6比并没有添加太多新功能啊
Code: Select all
Error: Bootloader binary size 0x6250 bytes is too large for partition table offset 0x8000. Bootloader binary can be maximum 0x6000 (24576) bytes unless the partition table offset is increased in the Partition Table section of the project configuration menu)所以是否考虑在ESP32C5平台上适当压缩BootLoader程序尺寸,或扩充BootLoader分区的默认大小,或者提供其他裁剪Bootloader尺寸的选项?同时好奇为啥ESP32C5的BootLoader大了这么多,感觉和ESP32C6比并没有添加太多新功能啊