Page 1 of 1

Get OTA image state in bootloader

Posted: Tue Jun 06, 2023 12:11 pm
by leschge
Which function can be used to read the esp_ota_img_states_t from every app partition inside the bootloader?
I see there is read_otadata() in bootloader_utility.c but its private.

I changed the bootloader to a custom one and want to prioritize an image which has state ESP_OTA_IMG_NEW.

Re: Get OTA image state in bootloader

Posted: Wed Jul 26, 2023 7:01 am
by leschge
Make read_otadata() in bootloader_utility public (IDFGH-10345) #11603
https://github.com/espressif/esp-idf/issues/11603