You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample needs to be upgraded to include usage of the boot image control library. It would be so much more helpful if it would demonstrate how to use the functions:
` int boot_read_bank_header(uint8_t area_id, struct mcuboot_img_header *header, size_t header_size);
bool boot_is_img_confirmed(void);
int boot_write_img_confirmed(void);
int boot_write_img_confirmed_multi(int image_index);
int mcuboot_swap_type(void);
int mcuboot_swap_type_multi(int image_index);
int boot_request_upgrade(int permanent);
int boot_request_upgrade_multi(int image_index, int permanent);
int boot_erase_img_bank(uint8_t area_id);
ssize_t boot_get_area_trailer_status_offset(uint8_t area_id);
ssize_t boot_get_trailer_status_offset(size_t area_size);`
Exactly what is expected and how to do it is very confusing and an expanded sample program would be VERY helpful.
The text was updated successfully, but these errors were encountered:
This sample needs to be upgraded to include usage of the boot image control library. It would be so much more helpful if it would demonstrate how to use the functions:
` int boot_read_bank_header(uint8_t area_id, struct mcuboot_img_header *header, size_t header_size);
Exactly what is expected and how to do it is very confusing and an expanded sample program would be VERY helpful.
The text was updated successfully, but these errors were encountered: