ESP32 OTA with single application

vinodstanur
Posts: 27
Joined: Thu Jun 08, 2017 12:59 pm

ESP32 OTA with single application

Postby vinodstanur » 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 ?

vinodstanur
Posts: 27
Joined: Thu Jun 08, 2017 12:59 pm

Re: ESP32 OTA with single application

Postby vinodstanur » Thu Aug 02, 2018 1:32 pm

I am able to do it now after updating the esp-idf.

Thanks @espressif

Who is online

Users browsing this forum: Bing [Bot] and 109 guests