Getting Started with Zephyr on RISC-V - Ubuntu
Using a12.mill
Installation
Create a conda virtual environment.
Install system dependencies.
on a12.mill, cmake version is too low, so we need to install a newer one in conda environment.
additionally, we need these
Install west, the build tool for zephyr.
Create a new project.
Export a Zephyr CMake package. This allows CMake to automatically load boilerplate code required for building Zephyr applications.
Install Python dependencies.
Install Zephyr SDK
Build blinky
build for spike
on windows
https://github.com/ninja-build/ninja/releases
https://www.segger.com/downloads/jlink/
https://7-zip.org/download.html
The workflow roughly follows the official tutorial.
Last updated
Was this helpful?