MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
mcci_bootloader_cm0plus.h
Go to the documentation of this file.
1/*
2
3Module: mcci_bootloader_cm0plus.h
4
5Function:
6 Definitions for MCCI Bootloader on ARM CM0plus systems
7
8Copyright and License:
9 This file copyright (C) 2021 by
10
11 MCCI Corporation
12 3520 Krums Corners Road
13 Ithaca, NY 14850
14
15 See accompanying LICENSE file for copyright and license information.
16
17Author:
18 Terry Moore, MCCI Corporation March 2021
19
20*/
21
22#ifndef _mcci_bootloader_cm0plus_h_
23#define _mcci_bootloader_cm0plus_h_ /* prevent multiple includes */
24
25#pragma once
26
27#include "mcci_arm_cm0plus.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/****************************************************************************\
35|
36| Globals
37|
38\****************************************************************************/
39
40///
41/// \brief the CortexM0 vectors for the boot loader.
42///
43/// \details
44/// The vectors are put in section \c .McciBootloader_Vectors -- be
45/// sure to research the link script when making changes here.
46///
47/// \see mccibootloader.ld
48///
51__attribute__((__section__(".McciBootloader_Vectors")));
52
53///
54/// \brief the application signature block
55///
56/// \details
57/// The signature block is put in section \c .McciBootloader_Signature -- be
58/// sure to research the link script when making changes here.
59///
60/// \see mccibootloader.ld
61///
62extern const McciBootloader_SignatureBlock_t
64__attribute__((__section__(".McciBootloader_Signature")));
65
66/****************************************************************************\
67|
68| End of file
69|
70\****************************************************************************/
71
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif /* _mcci_bootloader_cm0plus_h_ */
const McciBootloader_SignatureBlock_t gk_McciBootloader_SignatureBlock
the application signature block
const McciBootloader_CortexPageZero_t gk_McciBootloader_CortexVectors
the CortexM0 vectors for the boot loader.