Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
bootloader_settings_t Struct Reference
[Types and definitions.]
Structure holding bootloader settings for application and bank data. More...
#include <bootloader_types.h>
Data Fields | |
bootloader_bank_code_t | bank_0 |
Variable to store if bank 0 contains a valid application. | |
uint16_t | bank_0_crc |
If bank is valid, this field will contain a valid CRC of the total image. | |
bootloader_bank_code_t | bank_1 |
Variable to store if bank 1 has been erased/prepared for new image. | |
uint32_t | bank_0_size |
Size of active image in bank0 if present, otherwise 0. | |
uint32_t | sd_image_size |
Size of SoftDevice image in bank0 if bank_0 code is BANK_VALID_SD. | |
uint32_t | bl_image_size |
Size of Bootloader image in bank0 if bank_0 code is BANK_VALID_SD. | |
uint32_t | app_image_size |
Size of Application image in bank0 if bank_0 code is BANK_VALID_SD. | |
uint32_t | sd_image_start |
Location in flash where SoftDevice image is stored for SoftDevice update. |
Detailed Description
Structure holding bootloader settings for application and bank data.
Definition at line 45 of file bootloader_types.h.
Field Documentation
uint32_t app_image_size |
Size of Application image in bank0 if bank_0 code is BANK_VALID_SD.
Definition at line 53 of file bootloader_types.h.
Variable to store if bank 0 contains a valid application.
Definition at line 47 of file bootloader_types.h.
uint16_t bank_0_crc |
If bank is valid, this field will contain a valid CRC of the total image.
Definition at line 48 of file bootloader_types.h.
uint32_t bank_0_size |
Size of active image in bank0 if present, otherwise 0.
Definition at line 50 of file bootloader_types.h.
Variable to store if bank 1 has been erased/prepared for new image.
Bank 1 is only used in Banked Update scenario.
Definition at line 49 of file bootloader_types.h.
uint32_t bl_image_size |
Size of Bootloader image in bank0 if bank_0 code is BANK_VALID_SD.
Definition at line 52 of file bootloader_types.h.
uint32_t sd_image_size |
Size of SoftDevice image in bank0 if bank_0 code is BANK_VALID_SD.
Definition at line 51 of file bootloader_types.h.
uint32_t sd_image_start |
Location in flash where SoftDevice image is stored for SoftDevice update.
Definition at line 54 of file bootloader_types.h.
Generated on Tue Jul 12 2022 17:56:15 by 1.7.2