NPU Development Environment Setup
This chapter describes how to install the development environment directly on your computer.
1. Download RKNN Related Repositories
2. Install RKNN-Toolkit2 Environment
2.1 Install Python
Install Miniforge Conda:
Create Python Environment:
2.2 Install RKNN-Toolkit2
2.3 Verify Installation
3. Install Compilation Tools
Install CMake:
For Android boards - Install NDK: Download: https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip
For Linux boards - Install GCC:
- 64-bit: https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz
- 32-bit: https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz
4. Install Board-side RKNPU2 Environment
Check RKNPU2 Driver Version: