blob: 81ad8bed1ac76b766694e992a7e9ce18880006f2 [file] [log] [blame]
#include <stdint.h>
#include "console.h"
#include "microwatt_util.h"
int main(void)
{
console_init();
microwatt_alive();
/* Echo everything we receive back */
while (1) {
unsigned char c = getchar();
putchar(c);
if (c == 13) // if CR send LF
putchar(10);
}
}