nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bootloader_settings_t Struct Reference

Structure holding bootloader settings for application and bank data. More...

#include <dfu_types.h>

Data Fields

uint8_t bank_0
 
uint16_t bank_0_crc
 
uint8_t bank_1
 
uint32_t bank_0_size
 
uint32_t sd_image_size
 
uint32_t bl_image_size
 
uint32_t app_image_size
 
uint32_t sd_image_start
 

Detailed Description

Structure holding bootloader settings for application and bank data.

Field Documentation

uint32_t bootloader_settings_t::app_image_size

Size of Application image in bank0 if bank_0 code is BANK_VALID_SD.

uint8_t bootloader_settings_t::bank_0

Variable to store if bank 0 contains a valid application.

uint16_t bootloader_settings_t::bank_0_crc

If bank is valid, this field will contain a valid CRC of the total image.

uint32_t bootloader_settings_t::bank_0_size

Size of active image in bank0 if present, otherwise 0.

uint8_t bootloader_settings_t::bank_1

Variable to store if bank 1 has been erased/prepared for new image. Bank 1 is only used in Banked Update scenario.

uint32_t bootloader_settings_t::bl_image_size

Size of Bootloader image in bank0 if bank_0 code is BANK_VALID_SD.

uint32_t bootloader_settings_t::sd_image_size

Size of SoftDevice image in bank0 if bank_0 code is BANK_VALID_SD.

uint32_t bootloader_settings_t::sd_image_start

Location in flash where SoftDevice image is stored for SoftDevice update.