![]() |
MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
|
Go to the source code of this file.
Functions | |
| McciBootloaderBoard_Catena1sj_Eeprom_t * | McciBootloaderBoard_Catena1sj_getEepromPointer () |
| bool | McciBootloaderBoard_Catena1sj_getUpdate (void) |
| void | McciBootloaderBoard_Catena1sj_setUpdate (bool fRequest) |
| McciBootloaderBoard_Catena1sj_Eeprom_t * McciBootloaderBoard_Catena1sj_getEepromPointer | ( | void | ) |
base address of the bootloader EEPROM region (linker-defined).
This is hidden in this function because linker-defined symbols are not really type-safe; so we use an accessor.
Definition at line 48 of file mccibootloaderboard_catena1sj_eeprom.c.
Referenced by McciBootloaderBoard_Catena1sj_getUpdate(), McciBootloaderBoard_Catena1sj_setUpdate(), and McciBootloaderBoard_Catena1sj_SvcHandler().
| bool McciBootloaderBoard_Catena1sj_getUpdate | ( | void | ) |
Definition at line 65 of file mccibootloaderboard_catena1sj_eeprom.c.
References MCCI_BOOTLOADER_CATENA_1SJ_EEPROM_UPDATE_REQUEST, and McciBootloaderBoard_Catena1sj_getEepromPointer().
| void McciBootloaderBoard_Catena1sj_setUpdate | ( | bool | fRequest | ) |
Definition at line 76 of file mccibootloaderboard_catena1sj_eeprom.c.
References MCCI_BOOTLOADER_CATENA_1SJ_EEPROM_UPDATE_REQUEST, MCCI_STM32L0_REG_FLASH_PECR, MCCI_STM32L0_REG_FLASH_PECR_PELOCK, MCCI_STM32L0_REG_FLASH_PEKEYR, MCCI_STM32L0_REG_FLASH_PEKEYR_UNLOCK1, MCCI_STM32L0_REG_FLASH_PEKEYR_UNLOCK2, MCCI_STM32L0_REG_FLASH_SR, MCCI_STM32L0_REG_FLASH_SR_BSY, McciArm_getReg(), McciArm_putReg(), McciArm_putRegOr(), and McciBootloaderBoard_Catena1sj_getEepromPointer().