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
3Module: mccibootloader_stm32h7_prepareforlaunch.c
4
5Function:
6 McciBootloader_Stm32h7_prepareForLaunch()
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 ChaeHee Won, MCCI Corporation July 2021
19
20*/
21
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
51Name: McciBootloader_Stm32h7_prepareForLaunch()
52
53Function:
54 Return the STM32H7 to suitable config prior to launching app.
55
56Definition:
57 void McciBootloader_Stm32h7_prepareForLaunch(
58 void
59 );
60
61Description:
62 Reset all the peripherals, and switch back to default HSI clock.
63
64Returns:
65 No explicit result.
66
67Notes:
68 We don't scrub every possible bit.
69
70*/
71
72void
74 void
75 )
76 {
77 // reset the low-level peripherals (just in case)
78 }
79
80/**** end of mccibootloader_stm32h7_prepareforlaunch.c ****/
void McciBootloader_Stm32h7_prepareForLaunch(void)