예제 #1
0
파일: debug.c 프로젝트: saltstar/smartnix
void uart_puts(const char* str) {
    char ch;
    while ((ch = *str++)) {
        uart_pputc(ch);
    }
}
예제 #2
0
파일: debug.c 프로젝트: nroychowdhury/lk
void platform_pputc(char c)
{
	if (c == '\n')
		uart_pputc(DEBUG_UART, '\r');
	uart_pputc(DEBUG_UART, c);
}