URL
https://opencores.org/ocsvn/neorv32/neorv32/trunk
Show entire file |
Details |
Blame |
View Log
Rev 71 |
Rev 73 |
Line 601... |
Line 601... |
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* "after-main" handler that is executed after the application's
|
* "after-main" handler that is executed after the application's
|
* main function returns (called by crt0.S start-up code)
|
* main function returns (called by crt0.S start-up code)
|
**************************************************************************/
|
**************************************************************************/
|
int __neorv32_crt0_after_main(int32_t return_code) {
|
void __neorv32_crt0_after_main(int32_t return_code) {
|
|
|
if (return_code) {
|
if (return_code) {
|
neorv32_uart0_printf("\n<RTE> main function returned with exit code (%i) </RTE>\n", return_code);
|
neorv32_uart0_printf("\n<RTE> main function returned with exit code (%i) </RTE>\n", return_code);
|
}
|
}
|
|
|
return 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.