Get OTA image state in bootloader
Posted: 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.
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.