Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension zicsr required in HiFive1_rev_B board #420

Open
rocher opened this issue Jan 31, 2023 · 0 comments
Open

Extension zicsr required in HiFive1_rev_B board #420

rocher opened this issue Jan 31, 2023 · 0 comments

Comments

@rocher
Copy link
Contributor

rocher commented Jan 31, 2023

Hi,

I'm trying to compile the example provided for the HiFive1_rev_B board, but I'm getting the same errors mentioned in https://github.com/AdaCore/Ada_Drivers_Library/issues/411:

Ada_Drivers_Library/arch/RISC-V/src/riscv-csr_generic.adb:55: Error: unrecognized opcode csrw mhpmevent3,a5', extension zicsr' required

I'm using alr 1.2.2 and gnat_riscv64_elf 12.2.1, with the proper target and runtime for this board.
Any idea or suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant