adding log support with uart

started with pca10056
This commit is contained in:
hathach
2019-10-12 00:00:08 +07:00
parent d9ef34276b
commit 195d0f5a14
13 changed files with 233 additions and 195 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ void board_init(void)
UART_CFG_Type UARTConfigStruct;
UART_ConfigStructInit(&UARTConfigStruct);
UARTConfigStruct.Baud_rate = CFG_UART_BAUDRATE;
UARTConfigStruct.Baud_rate = CFG_BOARD_UART_BAUDRATE;
UART_Init(BOARD_UART_PORT, &UARTConfigStruct);
UART_TxCmd(BOARD_UART_PORT, ENABLE); // Enable UART Transmit