Close

Setting up the toolchain

A project log for Sparkfun RED-V bare metal

I wanted to learn RISC-V, not on an emulator, but on a real bare metal RISC-V processor. Even though Sparkfun RED-V is no longer produced.

olaf-baeyensOlaf Baeyens 10/18/2024 at 19:030 Comments

The tool-chain is designed for Linux, so I use a Raspberry PI to program the RED-V board.

Run "sudo apt install gcc-riscv64-unknown-elf"

The tool-chain is 64 but it can generate the 32 bit RISC-V instruction-set.

The inspiration is taken from this YouTube: This is the BEST Board to Learn RISC-V Assembly.

Discussions