Build is overwriting sdkconfig
Posted: Mon Dec 23, 2024 4:08 am
When building any of the example projects from the template, I'm getting the popup warning
"Low Application Partition Size" "Less than 30% of application partition size is free (275,072 of 1,048,576 bytes)"!
"binary size 0xbcd80 bytes. Smallest app partition is 0x100000 bytes. 0x43280 bytes (26%) free."
So from within the IDE, I modified the partitions.csv and ran 'Menu Config' (also via the IDE) to use partions.csv. However, after saving/building, the sdkconfig is still not using partions.csv, and thus I still get the size warning. Opening the IDE's Partitions Table Editor, and Menu Config after building, shows the correct settings!!
So I modified the sdkconfig file manually to use partitions.csv, but as soon as I build , it gets overwritten back to the single app.. and the warning popup appears.
Finally, I tried using the command-line to make the sdkconfig change, and that works.. the build doesn't over write sdkconfig.. and it uses the custom partitions.csv and I don't get the error.
But I don't understand why the sdkconfig changes don't take via the IDE.. nor why it would over-write it during the build. I'm concerned that future sdkconfig changes via the IDE will show correctly, yet are not reflected in sdkconfig.
"Low Application Partition Size" "Less than 30% of application partition size is free (275,072 of 1,048,576 bytes)"!
"binary size 0xbcd80 bytes. Smallest app partition is 0x100000 bytes. 0x43280 bytes (26%) free."
So from within the IDE, I modified the partitions.csv and ran 'Menu Config' (also via the IDE) to use partions.csv. However, after saving/building, the sdkconfig is still not using partions.csv, and thus I still get the size warning. Opening the IDE's Partitions Table Editor, and Menu Config after building, shows the correct settings!!
So I modified the sdkconfig file manually to use partitions.csv, but as soon as I build , it gets overwritten back to the single app.. and the warning popup appears.
Finally, I tried using the command-line to make the sdkconfig change, and that works.. the build doesn't over write sdkconfig.. and it uses the custom partitions.csv and I don't get the error.
But I don't understand why the sdkconfig changes don't take via the IDE.. nor why it would over-write it during the build. I'm concerned that future sdkconfig changes via the IDE will show correctly, yet are not reflected in sdkconfig.