![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
#include "mcci_bootloader_board_stm32h7b3i_dk.h"#include "mcci_bootloader.h"#include "mcci_bootloader_stm32h7.h"#include "mcci_stm32h7xx.h"#include "mcci_arm_cm7.h"Go to the source code of this file.
Macros | |
| #define | MCCI_BOOTLOADER_LED_GPIO MCCI_STM32H7_REG_GPIOI |
| #define | MCCI_BOOTLOADER_LED_GPIO_PIN 3 |
Functions | |
| static void | delayTick (void) |
| static MCCI_BOOTLOADER_NORETURN_PFX void | fastBlinkForever (void) |
| void | McciBootloaderBoard_Stm32h7b3iDk_clearLed (void) |
| void | McciBootloaderBoard_Stm32h7b3iDk_delayMs (uint32_t ms) |
| void | McciBootloaderBoard_Stm32h7b3iDk_fail (McciBootloaderError_t errorCode) |
| void | McciBootloaderBoard_Stm32h7b3iDk_setLed (void) |
| #define MCCI_BOOTLOADER_LED_GPIO MCCI_STM32H7_REG_GPIOI |
Definition at line 37 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
| #define MCCI_BOOTLOADER_LED_GPIO_PIN 3 |
Definition at line 41 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
|
static |
Definition at line 210 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
References MCCI_CM7_SYSTICK_CSR, MCCI_CM7_SYSTICK_CSR_COUNTFLAG, and McciArm_getReg().
Referenced by McciBootloaderBoard_Stm32h7b3iDk_fail().
|
static |
Definition at line 46 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
Referenced by McciBootloaderBoard_Stm32h7b3iDk_fail().
| 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().
| void McciBootloaderBoard_Stm32h7b3iDk_delayMs | ( | uint32_t | ms | ) |
Definition at line 199 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
References MCCI_CM7_SYSTICK_CSR, MCCI_CM7_SYSTICK_CSR_COUNTFLAG, and McciArm_getReg().
| void McciBootloaderBoard_Stm32h7b3iDk_fail | ( | McciBootloaderError_t | errorCode | ) |
Definition at line 218 of file mccibootloaderboard_stm32h7b3i_dk_systeminit.c.
References delayTick(), fastBlinkForever(), MCCI_CM7_SCB_AIRCR, MCCI_CM7_SCB_AIRCR_SYSRESETREQ, MCCI_CM7_SCB_AIRCR_VECTKEY, MCCI_CM7_SCB_AIRCR_VECTKEY_VALUE, McciArm_putRegMasked(), McciBootloaderBoard_Stm32h7b3iDk_annunciatorIndicateState, McciBootloaderBoard_Stm32h7b3iDk_handleSysTick(), and McciBootloaderError_BootloaderNotValid.
| 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().