summaryrefslogtreecommitdiff
path: root/board/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/board.c')
-rw-r--r--board/board.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/board.c b/board/board.c
index c0bbde0..726870b 100644
--- a/board/board.c
+++ b/board/board.c
@@ -32,11 +32,14 @@
#include <stdint.h>
#include "board.h"
+#include "fsl_debug_console.h"
/*!
* @brief initialize debug console to enable printf for this demo/example
*/
void BOARD_InitDebugConsole(void) {
- /* The user initialization should be placed here */
+ uint32_t uartClkSrcFreq = BOARD_DEBUG_UART_CLK_FREQ;
+
+ DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, BOARD_DEBUG_UART_BAUDRATE, BOARD_DEBUG_UART_TYPE, uartClkSrcFreq);
}