Open hugodiasg opened 1 month ago
~/caravel_board/firmware/mpw2-5/blink$ make clean flash rm -f .elf .hex .bin .vvp *.vcd
/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'
Delete _zicsr from the blink Makefile.
_zicsr
~/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'