URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
[/] [minsoc/] [trunk/] [sw/] [uart/] [uart.c] - Diff between revs 80 and 149
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 80 |
Rev 149 |
Line 12... |
Line 12... |
int_init();
|
int_init();
|
int_add(UART_IRQ, &uart_interrupt, NULL);
|
int_add(UART_IRQ, &uart_interrupt, NULL);
|
|
|
/* We can't use printf because in this simple example
|
/* We can't use printf because in this simple example
|
we don't link C library. */
|
we don't link C library. */
|
uart_print_str("Hello World.\n\r");
|
uart_print_str("Hello World.\n");
|
|
|
report(0xdeaddead);
|
report(0xdeaddead);
|
or32_exit(0);
|
or32_exit(0);
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.