Install the RISC-V SDK

About this task

To install the SDK:

Procedure

  1. Download the file riscv_sdk_windows-v<version>.zip or riscv_sdk_ubuntu-v<version>.zip from the Support Center.
  2. Create a directory for the SDK, such as c:\riscv-sdk (Windows) or home/my_name/riscv-sdk (Linux).
  3. Unzip the file into the directory you created. The complete SDK is distributed as compressed files. You do not need to run an installer.

Results

Windows directory structure:

  • SDK_Windows
    • eclipse—Eclipse application.
    • GNU MCU Eclipse—Windows build tools.
    • openocd—OpenOCD debugger.
    • riscv-xpack-toolchain_8.3.0-2.3_windows—GCC compiler.
    • run_eclipse.bat—Batch file that sets variables and launches Eclipse.
    • setup.bat—Batch file to set variables for running OpenOCD on the command line to flash the binary.

Ubuntu directory structure:

  • SDK_Ubuntu<version>
    • eclipse—Eclipse application.
    • openocd—OpenOCD debugger.
    • riscv-xpack-toolchain_8.3.0-2.3_linux—GCC compiler.
    • run_eclipse.sh—Shell file that sets variables and launches Eclipse.
    • setup.sh—Shell file to set variables for running OpenOCD on the command line to flash the binary.