From 929842a51aa842b2c4368aecefc897d4cbf4f57a Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Mon, 29 Jan 2018 19:43:42 +0000 Subject: [PATCH] Add uart echo program --- echo.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 echo.c diff --git a/echo.c b/echo.c new file mode 100644 index 0000000..cd677d4 --- /dev/null +++ b/echo.c @@ -0,0 +1,15 @@ +#include +#include "drivers/uart_tx.h" +#include "drivers/uart_rx_async.h" +#include "drivers/led.h" + +#include +#include + +void uart_process(uint8_t c) { + uart_putc(c); +} + +int main(void) { + for(;;) {} +}