add lpc17xx build config for host demo

This commit is contained in:
hathach
2013-12-11 12:13:22 +07:00
parent 8bd6440547
commit b35d2c8f43
9 changed files with 208 additions and 163 deletions

View File

@@ -107,10 +107,11 @@ uint32_t board_uart_send(uint8_t *buffer, uint32_t length)
return UART_Send(BOARD_UART_PORT, buffer, length, BLOCKING);
}
uint32_t board_uart_recv(uint8_t *buffer, uint32_t length)
uint8_t board_uart_getchar(void)
{
return UART_Receive(BOARD_UART_PORT, buffer, length, BLOCKING);
return UART_ReceiveByte(BOARD_UART_PORT);
}
#endif
#endif