OpenCores
URL https://opencores.org/ocsvn/minsoc/minsoc/trunk

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [rc-1.0/] [sw/] [uart/] [uart.c] - Diff between revs 109 and 147

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 109 Rev 147
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.