Skip to content
Maximilian Gerhardt edited this page Jun 3, 2023 · 22 revisions

Debian and WSL

apt-get install build-essential libnewlib-dev gcc-riscv64-unknown-elf libusb-1.0-0-dev libudev-dev

Arch/Manjaro

sudo pacman -S base-devel libusb Then from AUR install riscv64-unknown-elf-gcc, riscv64-unknown-elf-binutils, riscv64-unknown-elf-newlib (will compile for a long time).

Windows

Download and install (to system) this copy of GCC10. The minichlink.exe file is already ready to go in the minichlink folder.

MacOS

install the RISC-V toolchain with homebrew following these instructions

To get minichlink, please go to the minichlink directory and make it or you can use the pre-compiled minichlink.

After installation you can move on to Building and Flashing

Clone this wiki locally