You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to try to modify the firmware for the picosoc demo in symbiflow-examples. I found the firmware for it in this symbiflow-arch-defs repository.
I installed the toolchain with: conda install -c litex-hub gcc-riscv32-elf-newlib
I found that I could add -mabi=ilp32 and then it would build. I am not sure if this is the correct fix, but it appears to be working when I synth the verilog and put it on the basys3. At least it includes my new "printf" and it runs as before.
./hex2progmem.py --rom-style initial firmware/firmware_noflash_100.hex > ~/symbiflow-examples/xc7/picosoc_demo/progmem.v
.....
make
openocd ....
I just wanted to try to modify the firmware for the picosoc demo in symbiflow-examples. I found the firmware for it in this symbiflow-arch-defs repository.
I installed the toolchain with:
conda install -c litex-hub gcc-riscv32-elf-newlib
But when building I get this error:
There is some details about the compiler args on https://www.sifive.com/blog/all-aboard-part-1-compiler-args
I found that I could add
-mabi=ilp32
and then it would build. I am not sure if this is the correct fix, but it appears to be working when I synth the verilog and put it on the basys3. At least it includes my new "printf" and it runs as before.Version info about compiler for completeness:
The text was updated successfully, but these errors were encountered: