aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/clock_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/clock_config.c')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/clock_config.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/clock_config.c b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/clock_config.c
new file mode 100644
index 000000000..7bef3dad2
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/mekmimx8qm/project_template/clock_config.c
@@ -0,0 +1,33 @@
1/*
2 * Copyright 2017 NXP
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#include "fsl_common.h"
9#include "clock_config.h"
10
11/*******************************************************************************
12 * Definitions
13 ******************************************************************************/
14
15/*******************************************************************************
16 * Variables
17 ******************************************************************************/
18/* System clock frequency. */
19extern uint32_t SystemCoreClock;
20
21/*******************************************************************************
22 * Code
23 ******************************************************************************/
24
25void BOARD_BootClockVLPR(void)
26{
27 SystemCoreClockUpdate();
28}
29
30void BOARD_BootClockRUN(void)
31{
32 SystemCoreClockUpdate();
33}