Skip to content

Commit

Permalink
Added option so Arch Linux will pull in zicsr support
Browse files Browse the repository at this point in the history
  • Loading branch information
wrickert committed Apr 12, 2023
1 parent 3295854 commit 3c4fdca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ch32v003fun/ch32v003fun.c
Expand Up @@ -765,7 +765,8 @@ void handle_reset()
.option norelax\n\
la gp, __global_pointer$\n\
.option pop\n\
la sp, _eusrstack\n"
la sp, _eusrstack\n\
.option arch, +zicsr\n"
// Setup the interrupt vector, processor status and INTSYSCR.
" li a0, 0x80\n\
csrw mstatus, a0\n\
Expand Down

0 comments on commit 3c4fdca

Please sign in to comment.