Get started with libriscv here! This tutorial will guide you through a simple C++ host and C guest program.
Setup riscv64 toolchain
Create CMake project