HoneyGol-Microsystems / vesp-alpha

RISC-V based student processor for embedded applications.
GNU General Public License v3.0
3 stars 0 forks source link

Consider using already built RISC-V toolchain #86

Closed medexs closed 22 hours ago

medexs commented 1 year ago

At this moment, to use the RISC-V tools, the official unknown-elf toolchain has to be installed. Unfortunately, the installation takes long and so on. A solution to this is to use an already built toolchain.

The question is: do we put the binaries in the repository or leave it to the user to decide whether he will download the binaries or build it from the source?

medexs commented 11 months ago

Binaries should never be put into git repo! Thanks @andreondra for reminding me.

The solution is to investigate whether the user has riscv32 or riscv64 toolchain installed and then use the correct version in Makefile and elftohex.py (and also anywhere else, but these are the places where gcc from toolchain is called).