I have an esp32 4MB, and have fulled the memory by adding various libraries, bt, webserver, OTA etc. I do not want to get rid any of these in my project but in order to have them all fitted i had to do something so i came to this solution. Create a partition that has unequal OTA0 and OTA1. So this is how it works.
My main project is like 2051015. Max partition i could create was 2031616 having two mirror OTA 0 OTA 1. so i created a second sketch, bare bones, just OTA so it does not take much space but i also created a custom made partition where OTA 0 is smaller than OTA 1. Uploaded the small sketch first using the OTA 0 and then using OTA i uploaded my main sketch using OTA 1. Every time i have to upload my main, i have to upload the small sketch and then the main big one. It is kinda tiring but it works and creates the required space :).
So an the ability that would allow to create unequal partitions for ota on demand would be great!
I have an esp32 4MB, and have fulled the memory by adding various libraries, bt, webserver, OTA etc. I do not want to get rid any of these in my project but in order to have them all fitted i had to do something so i came to this solution. Create a partition that has unequal OTA0 and OTA1. So this is how it works.
My main project is like 2051015. Max partition i could create was 2031616 having two mirror OTA 0 OTA 1. so i created a second sketch, bare bones, just OTA so it does not take much space but i also created a custom made partition where OTA 0 is smaller than OTA 1. Uploaded the small sketch first using the OTA 0 and then using OTA i uploaded my main sketch using OTA 1. Every time i have to upload my main, i have to upload the small sketch and then the main big one. It is kinda tiring but it works and creates the required space :).
So an the ability that would allow to create unequal partitions for ota on demand would be great!