![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
#include "mcci_bootloader_board_catena_1sj.h"#include "mcci_bootloader_cm0plus_appimage.h"#include "mcci_bootloader.h"#include "mcci_bootloader_led_annunciator.h"#include "mcci_bootloader_stm32l0.h"#include "mcci_stm32l0xx.h"#include "mcci_arm_cm0plus.h"Go to the source code of this file.
Functions | |
| static void | delayTick (void) |
| static MCCI_BOOTLOADER_NORETURN_PFX void | fastBlinkForever (void) |
| void | McciBootloaderBoard_Catena1sj_clearLed (void) |
| void | McciBootloaderBoard_Catena1sj_delayMs (uint32_t ms) |
| void | McciBootloaderBoard_Catena1sj_fail (McciBootloaderError_t errorCode) |
| McciBootloader_Milliseconds_t | McciBootloaderBoard_Catena1sj_getMilliseconds (void) |
| void | McciBootloaderBoard_Catena1sj_handleSysTick (void) |
| void | McciBootloaderBoard_Catena1sj_setLed (void) |
|
static |
Definition at line 157 of file mccibootloaderboard_catena1sj_systeminit.c.
References McciBootloaderBoard_Catena1sj_delayMs.
Referenced by McciBootloaderBoard_Catena1sj_fail().
|
static |
Definition at line 40 of file mccibootloaderboard_catena1sj_systeminit.c.
Referenced by McciBootloaderBoard_Catena1sj_fail().
| void McciBootloaderBoard_Catena1sj_clearLed | ( | void | ) |
Definition at line 139 of file mccibootloaderboard_catena1sj_systeminit.c.
References MCCI_STM32L0_GPIO_BRR, MCCI_STM32L0_REG_GPIOB, and McciArm_putReg().
Referenced by McciBootloaderBoard_Catena1sj_annunciatorHandleSysTick().
| void McciBootloaderBoard_Catena1sj_delayMs | ( | uint32_t | ms | ) |
Definition at line 148 of file mccibootloaderboard_catena1sj_systeminit.c.
References McciBootloaderBoard_Catena1sj_getMilliseconds().
| void McciBootloaderBoard_Catena1sj_fail | ( | McciBootloaderError_t | errorCode | ) |
Definition at line 244 of file mccibootloaderboard_catena1sj_systeminit.c.
References delayTick(), fastBlinkForever(), MCCI_CM0PLUS_SCB_AIRCR, MCCI_CM0PLUS_SCB_AIRCR_SYSRESETREQ, MCCI_CM0PLUS_SCB_AIRCR_VECTKEY, MCCI_CM0PLUS_SCB_AIRCR_VECTKEY_VALUE, McciArm_putRegMasked(), McciBootloader_LED_annunciatorInit(), McciBootloaderBoard_Catena1sj_annunciatorHandleSysTick(), McciBootloaderBoard_Catena1sj_annunciatorIndicateState, and McciBootloaderError_BootloaderNotValid.
| McciBootloader_Milliseconds_t McciBootloaderBoard_Catena1sj_getMilliseconds | ( | void | ) |
Definition at line 170 of file mccibootloaderboard_catena1sj_systeminit.c.
References MCCI_CM0PLUS_SYSTICK_CSR, MCCI_CM0PLUS_SYSTICK_CSR_COUNTFLAG, MCCI_CM0PLUS_SYSTICK_CSR_ENABLE, MCCI_CM0PLUS_SYSTICK_CSR_TICKINT, McciArm_getReg(), McciArm_getSysTickPriority(), McciArmIPSR_queryThreadMode(), McciArmIPSR_toIRQ(), and McciArmNvic_getPriority().
Referenced by McciBootloaderBoard_Catena1sj_delayMs().
| void McciBootloaderBoard_Catena1sj_handleSysTick | ( | void | ) |
Definition at line 163 of file mccibootloaderboard_catena1sj_systeminit.c.
References McciBootloaderBoard_Catena1sj_annunciatorHandleSysTick().
| void McciBootloaderBoard_Catena1sj_setLed | ( | void | ) |
Definition at line 130 of file mccibootloaderboard_catena1sj_systeminit.c.
References MCCI_STM32L0_GPIO_BSRR, MCCI_STM32L0_REG_GPIOB, and McciArm_putReg().
Referenced by McciBootloaderBoard_Catena1sj_annunciatorHandleSysTick().