Skip to content

Extension zicsr required in HiFive1_rev_B board #420

Open
@rocher

Description

@rocher

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions