int
putDebugChar(int ch)
{
  assert(uart_current == BSP_UART_COM1 || uart_current == BSP_UART_COM2);

  BSP_uart_polled_write(uart_current, ch);

  return 1;
}
Beispiel #2
0
void
BSP_output_char_via_serial(char val)
{
  BSP_uart_polled_write(BSPConsolePort, val);
}
Beispiel #3
0
void
BSP_output_char_via_serial(char val)
{
  BSP_uart_polled_write(BSPConsolePort, val);
  if (val == '\n') BSP_uart_polled_write(BSPConsolePort,'\r');
}