1 /*
2  * Copyright 2021 NXP.
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #include <stdint.h>
9 #include "board.h"
10 #include "fsl_debug_console.h"
11 #include "fsl_common.h"
12 
13 /*******************************************************************************
14  * Variables
15  ******************************************************************************/
16 
17 /*******************************************************************************
18  * Code
19  ******************************************************************************/
20 /* Initialize debug console. */
BOARD_InitDebugConsole(void)21 void BOARD_InitDebugConsole(void)
22 {
23     uint32_t uartClkSrcFreq = BOARD_DEBUG_UART_CLK_FREQ;
24 
25     DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE, BOARD_DEBUG_UART_BAUDRATE, BOARD_DEBUG_UART_TYPE, uartClkSrcFreq);
26 }
27