URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 48 |
Rev 51 |
Line 148... |
Line 148... |
portable_init(core_portable *p, int *argc, char *argv[])
|
portable_init(core_portable *p, int *argc, char *argv[])
|
#endif
|
#endif
|
{
|
{
|
/* NEORV32-specific */
|
/* NEORV32-specific */
|
neorv32_cpu_dint(); // no interrupt, thanks
|
neorv32_cpu_dint(); // no interrupt, thanks
|
neorv32_rte_setup(); // capture all exceptions and give debug information
|
neorv32_rte_setup(); // capture all exceptions and give debug information, ho hw flow control
|
neorv32_uart_setup(BAUD_RATE, 0b00); // init UART at default baud rate, no parity bits
|
neorv32_uart_setup(BAUD_RATE, PARITY_NONE, FLOW_CONTROL_NONE);
|
|
|
|
|
// Disable coremark compilation by default
|
// Disable coremark compilation by default
|
#ifndef RUN_COREMARK
|
#ifndef RUN_COREMARK
|
#warning COREMARK HAS NOT BEEN COMPILED! Use >>make USER_FLAGS+=-DRUN_COREMARK clean_all exe<< to compile it.
|
#warning COREMARK HAS NOT BEEN COMPILED! Use >>make USER_FLAGS+=-DRUN_COREMARK clean_all exe<< to compile it.
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.