1 /*
2 ** ###################################################################
3 ** Processors: MIMXRT758SGAWAR
4 ** MIMXRT758SGFOA
5 **
6 ** Reference manual: iMXRT700RM Rev.2 DraftA, 05/2024
7 ** Version: rev. 2.0, 2024-05-28
8 ** Build: b240614
9 **
10 ** Abstract:
11 ** Provides a system configuration function and a global variable that
12 ** contains the system frequency. It configures the device and initializes
13 ** the oscillator (PLL) that is part of the microcontroller device.
14 **
15 ** Copyright 2016 Freescale Semiconductor, Inc.
16 ** Copyright 2016-2024 NXP
17 ** SPDX-License-Identifier: BSD-3-Clause
18 **
19 ** http: www.nxp.com
20 ** mail: support@nxp.com
21 **
22 ** Revisions:
23 ** - rev. 1.0 (2022-09-15)
24 ** Initial version.
25 ** - rev. 2.0 (2024-05-28)
26 ** Rev2 DraftA.
27 **
28 ** ###################################################################
29 */
30
31 /*!
32 * @file MIMXRT758S_ezhv
33 * @version 1.0
34 * @date 2024-06-14
35 * @brief Device specific configuration file for MIMXRT758S_ezhv
36 * (implementation file)
37 *
38 * Provides a system configuration function and a global variable that contains
39 * the system frequency. It configures the device and initializes the oscillator
40 * (PLL) that is part of the microcontroller device.
41 */
42
43 #include <stdint.h>
44 #include <stdbool.h>
45 #include "fsl_device_registers.h"
46
47 /* ----------------------------------------------------------------------------
48 -- Core clock
49 ---------------------------------------------------------------------------- */
50
51 uint32_t SystemCoreClock = DEFAULT_SYSTEM_CLOCK;
52
53 /* ----------------------------------------------------------------------------
54 -- SystemInit()
55 ---------------------------------------------------------------------------- */
56
SystemInit(void)57 __attribute__((weak)) void SystemInit(void)
58 {
59 SystemInitHook();
60 }
61
62 /* ----------------------------------------------------------------------------
63 -- SystemInitHook()
64 ---------------------------------------------------------------------------- */
65
SystemInitHook(void)66 __attribute__((weak)) void SystemInitHook(void)
67 {
68 /* Void implementation of the weak function. */
69 }
70