tinyfpga / TinyFPGA-BX

Other
271 stars 94 forks source link

Switching to nextpnr since arachne-pnr is deprecated. #28

Open jrincayc opened 4 years ago

jrincayc commented 4 years ago

This builds the json file that nextpnr needs, and also switches to using nextpnr. Issue #23

jrincayc commented 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