added function to print project credits

This commit is contained in:
stnolting 2020-07-08 16:15:52 +02:00
parent f8dd93f849
commit dfdb1544ed
2 changed files with 15 additions and 0 deletions

View file

@ -46,6 +46,8 @@
void neorv32_rte_enable_debug_mode(void);
int neorv32_rte_exception_install(uint8_t exc_id, void (*handler)(void));
int neorv32_rte_exception_uninstall(uint8_t exc_id);
void neorv32_rte_print_hw_config(void);
void neorv32_rte_print_credits(void);
#endif // neorv32_rte_h

View file

@ -373,3 +373,16 @@ static void __neorv32_rte_print_hw_version(void) {
}
}
}
/**********************************************************************//**
* NEORV32 runtime environment: Print project credits
**************************************************************************/
void neorv32_rte_print_credits(void) {
neorv32_uart_print("\n\nThe NEORV32 Processor Project\n"
"by Stephan Nolting\n"
"https://github.com/stnolting/neorv32\n"
"made in Hannover, Germany\n\n");
}