113 neorv32_uart0_setup(
BAUD_RATE, PARITY_NONE, FLOW_CONTROL_NONE);
115 if (neorv32_uart1_available() == 0) {
116 neorv32_uart0_print(
"Error! UART1 not synthesized!\n");
124 neorv32_uart1_setup(9600, PARITY_NONE, FLOW_CONTROL_NONE);
127 neorv32_uart0_print(
"Starting UART1 loopback demo program\n");
132 rx_status = neorv32_uart1_getc_safe(&tmpChar);
133 if (rx_status == 0) {
134 loopbackChar = tmpChar;
138 if (charReceived && !UART1_TX_BUFFER_FULL) {
139 neorv32_uart1_putc(loopbackChar);
140 charReceived =
false;