ESP32 OTA with single application
Posted: Wed Aug 01, 2018 2:06 pm
Hi,
I want to increase my application flash size, so I don't want to keep two application area for ota0 and ota1, instead I want only 1.
I will have a push button, I will do gpio pull down detection on power on to enter into OTA, but I am a bit confused about the OTA setup which required two OTA application partitions.
I don't care if the ota is not successful or not because I have option to enter into FACTORY_INDEX by button on startup, so I am more interested in utilizing the flash for single application binary instead of swapping each other on successful OTA update.
Any suggestions ?
I want to increase my application flash size, so I don't want to keep two application area for ota0 and ota1, instead I want only 1.
I will have a push button, I will do gpio pull down detection on power on to enter into OTA, but I am a bit confused about the OTA setup which required two OTA application partitions.
I don't care if the ota is not successful or not because I have option to enter into FACTORY_INDEX by button on startup, so I am more interested in utilizing the flash for single application binary instead of swapping each other on successful OTA update.
Any suggestions ?