Skip to content

Commit

Permalink
[processor_check] minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Jun 7, 2022
1 parent da035d2 commit af12cde
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sw/example/processor_check/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ int main() {
// Fast interrupt channel 1 (CFS)
// ----------------------------------------------------------
PRINT_STANDARD("[%i] FIRQ1 (CFS) ", cnt_test);
PRINT_STANDARD("<skipped>\n");
PRINT_STANDARD("<skipped, n.a.>\n");


// ----------------------------------------------------------
Expand Down Expand Up @@ -1416,7 +1416,7 @@ int main() {
// ----------------------------------------------------------
// Fast interrupt channel 12 (GPTMR)
// ----------------------------------------------------------
if (neorv32_slink_available()) {
if (neorv32_gptmr_available()) {
neorv32_cpu_csr_write(CSR_MCAUSE, 0);
PRINT_STANDARD("[%i] FIRQ12 (GPTMR) ", cnt_test);

Expand All @@ -1435,7 +1435,7 @@ int main() {
// disable GPTMR interrupt
neorv32_cpu_irq_disable(CSR_MIE_FIRQ12E);

// check if RX FIFO fires IRQ
// check if IRQ
if (neorv32_cpu_csr_read(CSR_MCAUSE) == TRAP_CODE_FIRQ_12) {
test_ok();
}
Expand All @@ -1448,11 +1448,11 @@ int main() {
}


//// ----------------------------------------------------------
//// Fast interrupt channel 13..15 (reserved)
//// ----------------------------------------------------------
//PRINT_STANDARD("[%i] FIRQ13..15 ", cnt_test);
//PRINT_STANDARD("<skipped, n.a.>\n");
// ----------------------------------------------------------
// Fast interrupt channel 13..15 (reserved)
// ----------------------------------------------------------
PRINT_STANDARD("[%i] FIRQ13..15 ", cnt_test);
PRINT_STANDARD("<skipped, n.a.>\n");


// ----------------------------------------------------------
Expand Down

0 comments on commit af12cde

Please sign in to comment.