MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
mcci_bootloader_board_stm32h7b3i_dk_request.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  McciBootloaderBoard_Stm32h7b3iDk_Request_t
 symbolic type for STM32H7B3I_DK update request image. More...
 

Macros

#define _mcci_bootloader_board_stm32h7b3i_dk_request_h_   /* prevent multiple includes */
 
#define MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT(e)    void MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT__(int MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT_x[(e) ? 1: -1])
 
#define MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_BEGIN   (('T' << 24) | ('O' << 16) | ('O' << 8) | 'B')
 mark the beginning of a bootloader REQUEST section
 
#define MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_END   (('t' << 24) | ('o' << 16) | ('p' << 8) | 'b')
 mark the end of a bootloader REQUEST section
 
#define MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_UPDATE_REQUEST   UINT32_C(0xFFFFFFFF)
 the distinguished "update request" value
 

Functions

void MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT__ (int MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT_x[(sizeof(McciBootloaderBoard_Stm32h7b3iDk_Request_t)==16) ? 1:-1])
 

Variables

volatile const uint8_t gk_McciBootloaderBoard_Stm32h7b3iDk_UpdateRequestBase []
 base address of the update request region in flash.
 

Macro Definition Documentation

◆ _mcci_bootloader_board_stm32h7b3i_dk_request_h_

#define _mcci_bootloader_board_stm32h7b3i_dk_request_h_   /* prevent multiple includes */

◆ MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT

#define MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT (   e)     void MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT__(int MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT_x[(e) ? 1: -1])

◆ MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_BEGIN

#define MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_BEGIN   (('T' << 24) | ('O' << 16) | ('O' << 8) | 'B')

mark the beginning of a bootloader REQUEST section

Definition at line 67 of file mcci_bootloader_board_stm32h7b3i_dk_request.h.

◆ MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_END

#define MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_END   (('t' << 24) | ('o' << 16) | ('p' << 8) | 'b')

mark the end of a bootloader REQUEST section

Definition at line 70 of file mcci_bootloader_board_stm32h7b3i_dk_request.h.

◆ MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_UPDATE_REQUEST

#define MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_UPDATE_REQUEST   UINT32_C(0xFFFFFFFF)

the distinguished "update request" value

Definition at line 73 of file mcci_bootloader_board_stm32h7b3i_dk_request.h.

Function Documentation

◆ MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT__()

void MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT__ ( int  MCCI_BOOTLOADER_REQUEST_STATIC_ASSERT_x[(sizeof(McciBootloaderBoard_Stm32h7b3iDk_Request_t)==16) ? 1:-1])

Variable Documentation

◆ gk_McciBootloaderBoard_Stm32h7b3iDk_UpdateRequestBase

volatile const uint8_t gk_McciBootloaderBoard_Stm32h7b3iDk_UpdateRequestBase[]
extern

base address of the update request region in flash.

Defined by the linker script. Declared as uint8_t[] so the symbol's address is the flash address (linker-defined symbols are addresses, not variables).

Referenced by McciBootloaderBoard_Stm32h7b3iDk_getRequestPointer(), and McciBootloaderBoard_Stm32h7b3iDk_setUpdate().