17 lines
226 B
C
17 lines
226 B
C
|
#include <stdint.h>
|
||
|
|
||
|
#include "../../bsp/include/uart.h"
|
||
|
#include "../../bsp/include/xprintf.h"
|
||
|
|
||
|
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
uart_init();
|
||
|
|
||
|
while (1) {
|
||
|
// loopback
|
||
|
xprintf("%c", uart_getc());
|
||
|
}
|
||
|
}
|