hugodiasg / mpw5-test

Testing a MPW5 chip.
0 stars 0 forks source link

error: '-march=rv32i_zicsr': unsupported ISA subset 'z' #1

Open hugodiasg opened 1 month ago

hugodiasg commented 1 month ago

~/caravel_board/firmware/mpw2-5/blink$ make clean flash rm -f .elf .hex .bin .vvp *.vcd

/usr/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

/usr/bin/riscv64-unknown-elf-gcc -I../ -I../generated/ -O0 -mabi=ilp32 -march=rv32i_zicsr -Dvexriscv -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'

hugodiasg commented 1 month ago

Delete _zicsr from the blink Makefile.