Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mcuboot_img_header Struct Reference

Model for the MCUBoot image header. More...

#include <mcuboot.h>

Data Fields

uint32_t mcuboot_version
 The version of MCUboot the header is built for.
 
union {
   struct mcuboot_img_header_v1   v1
 Header information for MCUboot version 1. More...
 
h
 The header information.
 

Detailed Description

Model for the MCUBoot image header.

This contains the decoded image header, along with the major version of MCUboot that the header was built for.

(The MCUboot project guarantees that incompatible changes to the image header will result in major version changes to the bootloader itself, and will be detectable in the persistent representation of the header.)

Field Documentation

◆ 

union { ... } mcuboot_img_header::h

The header information.

It is only valid to access fields in the union member corresponding to the mcuboot_version field above.

◆ mcuboot_version

uint32_t mcuboot_img_header::mcuboot_version

The version of MCUboot the header is built for.

The value 1 corresponds to MCUboot versions 1.x.y.

◆ v1

struct mcuboot_img_header_v1 mcuboot_img_header::v1

Header information for MCUboot version 1.


The documentation for this struct was generated from the following file: