aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/MIMX8QM6/project_template/clock_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/MIMX8QM6/project_template/clock_config.c')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/devices/MIMX8QM6/project_template/clock_config.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/MIMX8QM6/project_template/clock_config.c b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMX8QM6/project_template/clock_config.c
new file mode 100644
index 000000000..8e5b03871
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMX8QM6/project_template/clock_config.c
@@ -0,0 +1,32 @@
1/*
2 * Copyright 2017, NXP
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
9!!GlobalInfo
10product: Clocks v4.0
11* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
12
13/**
14 * @file clock_config.c
15 * @brief Board clocks initialization file.
16 */
17
18/* This is a empty template for board specific configuration.*/
19
20#include "fsl_common.h"
21#include "clock_config.h"
22
23/**
24 * @brief Set up and initialize all required blocks and functions related to the board hardware.
25 */
26void BOARD_InitBootClocks(void)
27{
28 /* The user initialization should be placed here */
29
30 /* Read core clock setting. */
31 SystemCoreClockUpdate();
32}