Initial commit
This commit is contained in:
10
uart/echo.c
Normal file
10
uart/echo.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "uart.h"
|
||||
|
||||
int main() {
|
||||
while (1) {
|
||||
char c = uart_read();
|
||||
uart_write(c);
|
||||
}
|
||||
|
||||
// never returns
|
||||
}
|
||||
Reference in New Issue
Block a user