You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
microwatt/hello_world/hello_world.c

19 lines
224 B
C

#include <stdint.h>
#include <stdbool.h>
#include "console.h"
#define HELLO_WORLD "Hello World\n"
int main(void)
{
potato_uart_init();
puts(HELLO_WORLD);
while (1) {
unsigned char c = getchar();
putchar(c);
}
}