2.1.1.2 Definitions
#define BL_IMAGE_FORMAT_MAJOR_VERSION (0x1)
Represents the major version of the image format that is understood by the bootloader core.
.#define BL_IMAGE_FORMAT_MINOR_VERSION (0x0)
Represents the minor version of the image format that is understood by the bootloader core.
.#define BL_IMAGE_FORMAT_PATCH_VERSION (0x0)
Represents the patch version of the image format that is understood by the bootloader core.
.#define BL_VECTORED_INTERRUPTS_ENABLED (0)
Indicates that the bootloader supports vectored interrupts in the application.
#define BL_APPLICATION_START_ADDRESS (0x1000U)
Start of the application memory space.
#define BL_DEVICE_ID_START_ADDRESS_U (0x41002018U)
Device ID address.
#define BL_APPLICATION_END_ADDRESS (0x1FFFFU)
End of the application memory space.
#define BL_IMAGE_PARTITION_SIZE (0x1F000U)
Defined size of the application memory space.
#define BL_STAGING_IMAGE_START (BL_APPLICATION_START_ADDRESS)
Start of the application download space.
#define BL_STAGING_IMAGE_END (BL_APPLICATION_END_ADDRESS)
End of the application download space.
#define BL_STAGING_IMAGE_ID (0U)
Image area ID that identifies the download location of the transferred data.
#define BL_APPLICATION_IMAGE_COUNT (1U)
Number to represent how many image spaces are configured by the bootloader.
#define BL_SOFTWARE_ENTRY_PATTERN_START (0x20000000)
Start address of the software entry pattern array.
#define BL_SOFTWARE_ENTRY_PATTERN (0x5048434DU)
32-bit pattern used to indicate that a software entry has been requested.
#define ASM_VECTOR asm("bx %0"::"r" (reset_vector))
Macro defined to jump the program to the application reset location.
#define BL_COMMAND_HEADER_SIZE (4U)
Total size of the operational block header part.
#define BL_BLOCK_HEADER_SIZE (3U)
Total size of the basic block header part.
#define BL_WRITE_BYTE_LENGTH (NVMCTRL_FLASH_PAGESIZE)
Maximum number of bytes that the bootloader can hold inside of its process buffer.
#define BL_MAX_BUFFER_SIZE (BL_BLOCK_HEADER_SIZE + BL_COMMAND_HEADER_SIZE + BL_WRITE_BYTE_LENGTH)
Maximum length of data in bytes that the bootloader can receive from the host in each operational block.
