44#define RIOTBOOT_MAGIC         0x544f4952  
int riotboot_hdr_validate(const riotboot_hdr_t *riotboot_hdr)
Validate image header.
 
void riotboot_hdr_print(const riotboot_hdr_t *riotboot_hdr)
Print formatted riotboot_hdr_t to STDIO.
 
uint32_t riotboot_hdr_checksum(const riotboot_hdr_t *riotboot_hdr)
Calculate header checksum.
 
Structure to store image header - All members are little endian.
 
uint32_t start_addr
Address after the allocated space for the header.
 
uint32_t magic_number
Header magic number (always "RIOT")
 
uint32_t chksum
Checksum of riotboot_hdr.
 
uint32_t version
Integer representing the partition version.