![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
#include "mcci_bootloader_types.h"#include "mcci_bootloader_platform.h"#include "mcci_bootloader_stm32h7.h"#include "mcci_stm32h7xx.h"#include "mcci_bootloader_board_stm32h7b3i_dk_request.h"Go to the source code of this file.
Macros | |
| #define | _mcci_bootloader_board_stm32h7b3i_dk_h_ /* prevent multiple includes */ |
| #define | MCCI_BOOTLOADER_BOARD_STM32H7B3I_DK_STORAGE_IMAGE_SIZE (UINT32_C(1024) * 1024) |
| the maximum image size is 1024k bytes at the bank2 flash | |
Functions | |
| void | McciBootloaderBoard_Stm32h7b3iDk_clearLed (void) |
| McciBootloaderBoard_Stm32h7b3iDk_Request_t * | McciBootloaderBoard_Stm32h7b3iDk_getRequestPointer (void) |
| void | McciBootloaderBoard_Stm32h7b3iDk_handleSysTick (void) |
| void | McciBootloaderBoard_Stm32h7b3iDk_setLed (void) |
| #define _mcci_bootloader_board_stm32h7b3i_dk_h_ /* prevent multiple includes */ |
Definition at line 23 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| #define MCCI_BOOTLOADER_BOARD_STM32H7B3I_DK_STORAGE_IMAGE_SIZE (UINT32_C(1024) * 1024) |
the maximum image size is 1024k bytes at the bank2 flash
Definition at line 58 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| void McciBootloaderBoard_Stm32h7b3iDk_clearLed | ( | void | ) |
Definition at line 190 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
References MCCI_BOOTLOADER_LED_GPIO, MCCI_BOOTLOADER_LED_GPIO_PIN, MCCI_STM32H7_GPIO_BSRR, MCCI_STM32H7_GPIO_BSRR_BR_P, and McciArm_putReg().
Referenced by McciBootloaderBoard_Stm32h7b3iDk_handleSysTick().
| McciBootloaderBoard_Stm32h7b3iDk_Request_t * McciBootloaderBoard_Stm32h7b3iDk_getRequestPointer | ( | void | ) |
Definition at line 64 of file mccibootloaderboard_stm32h7b3i_dk_request.c.
References gk_McciBootloaderBoard_Stm32h7b3iDk_UpdateRequestBase, MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_BEGIN, MCCI_BOOTLOADER_STM32H7B3I_DK_REQUEST_MAGIC_END, and sg_McciBootloaderBoard_Stm32h7b3iDk_RequestNo.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_getUpdate(), McciBootloaderBoard_Stm32h7b3iDk_setUpdate(), and McciBootloaderBoard_Stm32h7b3iDk_SvcHandler().
| void McciBootloaderBoard_Stm32h7b3iDk_handleSysTick | ( | void | ) |
Definition at line 123 of file mccibootloaderboard_stm32h7b3i_dk_annunciator.c.
References annunciator, McciBootloaderBoard_Stm32h7b3iDk_clearLed(), nextBit(), stBitGap, stByteGap, stIdle, stInitial, stLedOn, and stNoChange.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_fail().
| void McciBootloaderBoard_Stm32h7b3iDk_setLed | ( | void | ) |
Definition at line 181 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
References MCCI_BOOTLOADER_LED_GPIO, MCCI_BOOTLOADER_LED_GPIO_PIN, MCCI_STM32H7_GPIO_BSRR, MCCI_STM32H7_GPIO_BSRR_BS_P, and McciArm_putReg().
Referenced by nextBit().
|
extern |
base address of the fallback image (bank 2, 512k to 1024k).
Defined by the linker script.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_getFallbackStorageAddress().
|
extern |
base address of the update image in flash bank 2.
Defined by the linker script.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_getPrimaryStorageAddress().
| McciBootloaderPlatform_FailFn_t MCCI_BOOTLOADER_NORETURN_PFX McciBootloaderBoard_Stm32h7b3iDk_fail MCCI_BOOTLOADER_NORETURN_SFX |
Definition at line 90 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_AnnunciatorIndicateStateFn_t McciBootloaderBoard_Stm32h7b3iDk_annunciatorIndicateState |
Definition at line 117 of file mcci_bootloader_board_stm32h7b3i_dk.h.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_fail().
| McciBootloaderPlatform_AnnunciatorInitFn_t McciBootloaderBoard_Stm32h7b3iDk_annunciatorInit | ( | void | ) |
Definition at line 114 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_DelayMsFn_t McciBootloaderBoard_Stm32h7b3iDk_delayMs |
Definition at line 93 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_GetFallbackStorageAddressFn_t McciBootloaderBoard_Stm32h7b3iDk_getFallbackStorageAddress | ( | void | ) |
Definition at line 111 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_GetPrimaryStorageAddressFn_t McciBootloaderBoard_Stm32h7b3iDk_getPrimaryStorageAddress | ( | void | ) |
Definition at line 108 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_GetUpdateFlagFn_t McciBootloaderBoard_Stm32h7b3iDk_getUpdate | ( | void | ) |
Definition at line 96 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_PrepareForLaunchFn_t McciBootloaderBoard_Stm32h7b3iDk_prepareForLaunch | ( | void | ) |
Definition at line 86 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_SetUpdateFlagFn_t McciBootloaderBoard_Stm32h7b3iDk_setUpdate |
Definition at line 99 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_StorageInitFn_t McciBootloaderBoard_Stm32h7b3iDk_storageInit | ( | void | ) |
Definition at line 102 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_StorageReadFn_t McciBootloaderBoard_Stm32h7b3iDk_storageRead |
Definition at line 105 of file mcci_bootloader_board_stm32h7b3i_dk.h.
| McciBootloaderPlatform_SystemInitFn_t McciBootloaderBoard_Stm32h7b3iDk_systemInit |
Definition at line 83 of file mcci_bootloader_board_stm32h7b3i_dk.h.