mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
[RTE] minor edit
no info output if UART0 not implemented
This commit is contained in:
parent
3b58dbe16e
commit
049f51ab70
1 changed files with 4 additions and 0 deletions
|
@ -448,6 +448,10 @@ void neorv32_rte_print_info(void) {
|
|||
"FIRQ_15 "
|
||||
};
|
||||
|
||||
if (neorv32_uart0_available() == 0) {
|
||||
return; // cannot output anything if UART0 is not implemented
|
||||
}
|
||||
|
||||
neorv32_uart0_puts("\n\n<< NEORV32 RTE Configuration >>\n\n");
|
||||
|
||||
// header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue