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