/* * Write a character to the console. This is used by printk() and * maybe other low level functions. It should not use interrupts or any * RTEMS system calls. It needs to be very simple */ static void _BSP_put_char( char c ) { uart_write_polled(0, c); if (c == '\n') { uart_write_polled(0, '\r'); } }
/* * Debug IO support */ static void _BSP_null_char(char c) { uart_write_polled(0, c); }