Skip to content

Commit

Permalink
Fix SG2000 IRQ
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jun 16, 2024
1 parent 527029c commit f12ad97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/risc-v/include/sg2000/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@
* Pre-processor Definitions
****************************************************************************/

/* Map RISC-V exception code to NuttX IRQ */

#define NR_IRQS (RISCV_IRQ_SEXT + 57)

#endif /* __ARCH_RISCV_INCLUDE_SG2000_IRQ_H */

0 comments on commit f12ad97

Please sign in to comment.