1 /*
2 ** ###################################################################
3 ** Processors: MIMX8ML8CVNKZ_dsp
4 ** MIMX8ML8DVNLZ_dsp
5 **
6 ** Compiler: XCC Compiler
7 ** Reference manual: IMX8MPRM, Rev.D, 12/2020
8 ** Version: rev. 5.0, 2021-03-01
9 ** Build: b230302
10 **
11 ** Abstract:
12 ** Provides a system configuration function and a global variable that
13 ** contains the system frequency. It configures the device and initializes
14 ** the oscillator (PLL) that is part of the microcontroller device.
15 **
16 ** Copyright 2016 Freescale Semiconductor, Inc.
17 ** Copyright 2016-2023 NXP
18 ** All rights reserved.
19 **
20 ** SPDX-License-Identifier: BSD-3-Clause
21 **
22 ** http: www.nxp.com
23 ** mail: support@nxp.com
24 **
25 ** Revisions:
26 ** - rev. 1.0 (2019-10-11)
27 ** Initial version.
28 ** - rev. 2.0 (2020-02-21)
29 ** Rev.B Header.
30 ** - rev. 3.0 (2020-06-22)
31 ** Rev.C Header.
32 ** - rev. 4.0 (2020-11-16)
33 ** Rev.D Header.
34 ** - rev. 5.0 (2021-03-01)
35 ** Rev.D Header Final.
36 **
37 ** ###################################################################
38 */
39
40 /*!
41 * @file MIMX8ML8_dsp
42 * @version 5.0
43 * @date 2021-03-01
44 * @brief Device specific configuration file for MIMX8ML8_dsp (implementation
45 * file)
46 *
47 * Provides a system configuration function and a global variable that contains
48 * the system frequency. It configures the device and initializes the oscillator
49 * (PLL) that is part of the microcontroller device.
50 */
51
52 #include <stdint.h>
53 #include "fsl_device_registers.h"
54
55
56
57 /* ----------------------------------------------------------------------------
58 -- Core clock
59 ---------------------------------------------------------------------------- */
60
61 uint32_t SystemCoreClock = DEFAULT_SYSTEM_CLOCK;
62
63 /* ----------------------------------------------------------------------------
64 -- SystemInit()
65 ---------------------------------------------------------------------------- */
66
SystemInit(void)67 void SystemInit (void) {
68 SystemInitHook();
69 }
70
71 /* ----------------------------------------------------------------------------
72 -- SystemCoreClockUpdate()
73 ---------------------------------------------------------------------------- */
74
SystemCoreClockUpdate(void)75 void SystemCoreClockUpdate (void) {
76 }
77
78 /* ----------------------------------------------------------------------------
79 -- SystemInitHook()
80 ---------------------------------------------------------------------------- */
81
SystemInitHook(void)82 __attribute__ ((weak)) void SystemInitHook (void) {
83 /* Void implementation of the weak function. */
84 }
85