Get OTA image state in bootloader

leschge
Posts: 37
Joined: Fri May 06, 2022 1:38 pm

Get OTA image state in bootloader

Postby leschge » Tue Jun 06, 2023 12:11 pm

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.

leschge
Posts: 37
Joined: Fri May 06, 2022 1:38 pm

Re: Get OTA image state in bootloader

Postby leschge » Wed Jul 26, 2023 7:01 am

Make read_otadata() in bootloader_utility public (IDFGH-10345) #11603
https://github.com/espressif/esp-idf/issues/11603

Who is online

Users browsing this forum: No registered users and 84 guests