From 64d54adbe82eb474904c39e918d2ec32bc9a5225 Mon Sep 17 00:00:00 2001 From: Brad Date: Wed, 29 Jan 2025 14:36:01 +1030 Subject: [PATCH] Update crt0.S --- litex/soc/cores/cpu/naxriscv/crt0.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/soc/cores/cpu/naxriscv/crt0.S b/litex/soc/cores/cpu/naxriscv/crt0.S index 6e6dc1cb2f..aae9f10608 100644 --- a/litex/soc/cores/cpu/naxriscv/crt0.S +++ b/litex/soc/cores/cpu/naxriscv/crt0.S @@ -124,8 +124,7 @@ bss_loop: bss_done: call plic_init // initialize external interrupt controller - li t0, 0x800 // external interrupt sources only (using LiteX timer); - // NOTE: must still enable mstatus.MIE! + li t0, 0x808 // external interrupt sources (using LiteX timer) and enable mstatus.MIE. csrw mie,t0 call main