This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Set the toolchain for EZHV

To set the toolchain for EZHV, perform the following steps:

  1. Download and install the RISCV LLVM toolchain.

  2. Add a system environment variable RISCVLLVM_DIR, and set the value to the RISCV LLVM install path.

    • For Linux or Mac, run the command:

      export RISCVLLVM_DIR=<your_risc_llvm_install_path>
      
    • For Windows, as shown in Set the toolchain for EZHV, perform the following steps:

      1. Click Windows Start -> Settings.

      2. Search and open Edit environment variable for your account

      3. Create a new variable.

  3. Download Ninja from this link. Add the path ninja executable to system environmental variable PATH. When it finishes, run the ninja – version in command line to verify the installation. The result looks like:

    $ ninja --version
    1.10.1
    
  4. Download and install CMake.

Parent topic:Build and run the ezhv_examples