URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
[/] [minsoc/] [branches/] [rc-1.0/] [sw/] [uart/] [uart.c] - Rev 169
Go to most recent revision | Compare with Previous | Blame | View Log
#include <board.h> #include <support.h> #include <or1200.h> #include <int.h> #include <uart.h> int main() { uart_init(); int_init(); int_add(UART_IRQ, &uart_interrupt, NULL); /* We can't use printf because in this simple example we don't link C library. */ uart_print_str("Hello World.\n"); report(0xdeaddead); or32_exit(0); }
Go to most recent revision | Compare with Previous | Blame | View Log