somehow could not get printf work with IAR both SWD & uart on NGX4330

This commit is contained in:
hathach
2014-03-05 15:03:38 +07:00
parent 62e2a44d71
commit 043e5dbf3c
6 changed files with 2543 additions and 322 deletions
@@ -132,6 +132,10 @@ uint8_t board_uart_getchar(void)
{
return UART_ReceiveByte(BOARD_UART_PORT);
}
void board_uart_putchar(uint8_t c)
{
UART_Send(BOARD_UART_PORT, &c, 1, BLOCKING);
}
#endif
#endif