Open jrincayc opened 4 years ago
Note that without the -mabi=ilp32
the following error happens:
riscv32-unknown-elf-gcc -march=rv32imc -nostartfiles -Wl,-Bstatic,-T,sections.lds,--strip-debug,-Map=firmware.map,--cref -ffreestanding -nostdlib -o firmware.elf start.S firmware.c
cc1: error: requested ABI requires '-march' to subsume the 'D' extension
cc1: error: requested ABI requires '-march' to subsume the 'D' extension
This builds the json file that nextpnr needs, and also switches to using nextpnr. Issue #23