Setting Up RISC-V Development
Environment for RV32M1-VEGA
1. Introduction
This guide describes the setup for the RISC-V
development environment of RV32M1-VEGA board.
The RV32M1-VEGA development board is a small,
low-power, and cost-effective evaluation and
development board for application prototyping and
demonstration of the RV32M1 device. The RV32M1
device integrates two RISC-V cores: a RI5CY core and
a ZERO_RISCY core. There’s a JTAG port used to
debug two RISC-V cores. For detailed information on
the RV32M1 device, see RV32M1RM document.
The setup for RIS-V development environment of
RV32M1 includes installing GNU GCC toolchain,
OpenOCD debugger, Eclipse and its configurations for
RISC-V, and Software Development Kit (SDK) for
RV32M1.
The development system of RV32M1 RISC-V supports
Windows, Linux, and MacOS operating system. In each
operating system, you can set up a GUI-based
development system with the Eclipse IDE or use
command line simply if you prefer it.
To set up the development system, you can follow one
of the following guides according to your host operation
system.
•
Windows
•
Linux
•
macOS
WWW.OPEN-ISA.ORG
RM32M1-VEGA
User’s Guide
Contents
Introduction ........................................................................ 1
Development Environment Setup on Windows ................. 2
Install Requirements and Dependencies .................. 2
Install Eclipse IDE for C/C++ Developers .............. 2
Install Windows Build Tools .................................. 2
Install RV32M1 GNU GCC Toolchain ................... 3
Install OpenOCD .................................................... 4
Install RV32M1 SDK.............................................. 6
Install CMake for Command Line Mode ................ 6
Install MinGW for Command Line Mode ............... 7
Development Environment Setup on Linux ....................... 8
Install RV32M1 GNU GCC Toolchain and CMake 8
Install OpenOCD .................................................... 8
Install Eclipse IDE for C/C++ Developers .............. 9
Development Environment Setup on MacOS .................... 9
Install RV32M1 GNU GCC Toolchain and CMake 9
Install OpenOCD .................................................. 10
References ........................................................................ 10
Revision history ............................................................... 10