You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This check should not apply to data partitions which can be used even when they exceed 16MB. I think this check should be if partition.ty() == Type::App && partition.size() > MAX_PART_SIZE {
The IDF bootloader code referenced there does indeed check this 16MB limit, but if I read that code correctly it only does so for the partition it tries to boot from. If I write a partition table manually using espflash write-bin 0x8000 partitions.bin to a S3 with 32MB flash I can use a 28MB data partition just fine.
The text was updated successfully, but these errors were encountered:
In the validate function in lib.rs there's a check that says partition sizes cannot be larger then 16MB:
esp-idf-part/src/lib.rs
Lines 320 to 324 in 3774056
This check should not apply to data partitions which can be used even when they exceed 16MB. I think this check should be
if partition.ty() == Type::App && partition.size() > MAX_PART_SIZE {
The IDF bootloader code referenced there does indeed check this 16MB limit, but if I read that code correctly it only does so for the partition it tries to boot from. If I write a partition table manually using
espflash write-bin 0x8000 partitions.bin
to a S3 with 32MB flash I can use a 28MB data partition just fine.The text was updated successfully, but these errors were encountered: