riotboot_hdr_v2 Struct Reference

Structure to store image header v2 - All members are little endian. More...

Detailed Description

Structure to store image header v2 - All members are little endian.

Definition at line 113 of file hdr.h.

#include <hdr.h>

Data Fields

uint32_t magic_number
 Header magic number

 
uint32_t version
 Integer representing the partition version

 
uint32_t start_addr
 Address after the allocated space for the header

 
uint32_t chksum
 Checksum of riotboot_hdr

 
uint32_t flags
 General purpose flags for image state and boot count. More...
 

Field Documentation

◆ flags

uint32_t riotboot_hdr_v2::flags

General purpose flags for image state and boot count.

The flags are not covered by the checksum, because checksum recomputation would require flash page erase of the currently running program.

Definition at line 124 of file hdr.h.


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