Closed davcmendes closed 3 months ago
Hi @davcmendes, you have two app partitions:
app0, app, ota_0, 0x10000, 0x140000,
app1, app, ota_1, 0x340000,0x330000,
By default, the first one is used to determine available size. If you need the second one, just specify its name directly in yourplatformio.ini
:
[env:esp32dev]
platform = espressif32@6.5.0
board = esp32dev
framework = espidf
board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608
board_build.partitions = default_8MB.csv
board_build.app_partition_name = app1
Ok, that works. In the older versions It would always show the available size based on the bigger partition, that’s what was confusing me. Thanks for your help @valeros
Hi!
I'm using a custom partition table on one of my esp32 projects, to be more specific the default_8MB.csv table.
Since version 6.4.0 I get the following default 4MB flash usage after compilation:
Instead of the normal 8MB flash usage I was getting in version 6.3.2:
This is the platformio.ini file I'm using:
Was there anything related to partition tables that changed in version 6.4.0, that can explain this behaviour?
I'm attaching a default project where I was able to reproduce the issue. test_idf_partition.zip