mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 21:57:33 -04:00
[sw] minor fix
This commit is contained in:
parent
e2e3d1202b
commit
bbde15c485
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ int main() {
|
|||
char_buffer = (char *) malloc(4 * sizeof(char)); // 4 bytes
|
||||
|
||||
// do not test read & write in simulation as there would be no UART RX input
|
||||
if (NEORV32_SYSINFO->SOC & (1<<SYSINFO_SOC_IS_SIM)) {
|
||||
if (neorv32_cpu_csr_read(CSR_MXISA) & (1 << CSR_MXISA_IS_SIM)) {
|
||||
neorv32_uart0_printf("Skipping <read> & <write> tests as this seems to be a simulation.\n");
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue