Knowledge capture and experiments with low-level C++ on RISC-V.
More details at either:
- RISC-V: A Baremetal Introduction using C++. Intro.
- https://www.five-embeddev.com/articles/2021/04/30/riscv-and-modern-c++-part1-1/
Projects:
- blinky : Example C++ blinky program for RISC-V
Platform IO is used to build the project locally.
Docker is used to build the project on github.
The included dockerfile installs the xpack RISC-V GCC toolchain and uses cmake to compile the project.
To build locally using the docker file use these commands:
docker build --tag=my_project:latest .
docker run \
-it \
-v `pwd`:/work \
my_project:latest \
/work \
blinky/src \