MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
mccibootloader_stm32h7_prepareforlaunch.c
Go to the documentation of this file.
1
/*
2
3
Module: mccibootloader_stm32h7_prepareforlaunch.c
4
5
Function:
6
McciBootloader_Stm32h7_prepareForLaunch()
7
8
Copyright 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
17
Author:
18
ChaeHee Won, MCCI Corporation July 2021
19
20
*/
21
22
#include "
mcci_bootloader_stm32h7.h
"
23
24
#include "
mcci_stm32h7xx.h
"
25
␌
26
/****************************************************************************\
27
|
28
| Manifest constants & typedefs.
29
|
30
\****************************************************************************/
31
32
33
34
/****************************************************************************\
35
|
36
| Read-only data.
37
|
38
\****************************************************************************/
39
40
41
42
/****************************************************************************\
43
|
44
| Variables.
45
|
46
\****************************************************************************/
47
48
␌
49
/*
50
51
Name: McciBootloader_Stm32h7_prepareForLaunch()
52
53
Function:
54
Return the STM32H7 to suitable config prior to launching app.
55
56
Definition:
57
void McciBootloader_Stm32h7_prepareForLaunch(
58
void
59
);
60
61
Description:
62
Reset all the peripherals, and switch back to default HSI clock.
63
64
Returns:
65
No explicit result.
66
67
Notes:
68
We don't scrub every possible bit.
69
70
*/
71
72
void
73
McciBootloader_Stm32h7_prepareForLaunch
(
74
void
75
)
76
{
77
// reset the low-level peripherals (just in case)
78
}
79
80
/**** end of mccibootloader_stm32h7_prepareforlaunch.c ****/
mcci_bootloader_stm32h7.h
mcci_stm32h7xx.h
McciBootloader_Stm32h7_prepareForLaunch
void McciBootloader_Stm32h7_prepareForLaunch(void)
Definition
mccibootloader_stm32h7_prepareforlaunch.c:73
platform
soc
stm32h7
src
mccibootloader_stm32h7_prepareforlaunch.c
Generated on Fri Apr 3 2026 07:39:06 for MCCI Trusted Bootloader by
1.9.8