Hello, I'm trying to run the blink example from
Caravel Board (MPW5), but I got this:
(I installed the riscv toolchain with
this after having problems with ``riscv64-unknown-elf-gc`` )
hugodg@HUGO-PC:~/caravel_board/firmware/mpw2-5/blink$ make clean flash
rm -f *.elf *.hex *.bin *.vvp *.vcd
#/opt/riscv/bin/riscv32-unknown-elf-gcc -O0 -march=rv32i_zicsr -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../start.s ../print_io.c blink.c
/opt/riscv/bin/riscv64-unknown-elf-gcc -I../ -I../generated/ -O0 -mabi=ilp32 -march=rv32i_zicsr -D__vexriscv__ -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../crt0_vex.S ../isr.c blink.c
cc1: error: -march=rv32i_zicsr: unsupported ISA subset `z'
cc1: error: -march=rv32i_zicsr: unsupported ISA subset `z'
cc1: error: -march=rv32i_zicsr: unsupported ISA subset `z'
make:
* [Makefile
23 blink.elf] Error 1