Setting Up the RT-Smart Environment
5/20/26Less than 1 minute
Setting Up the RT-Smart Environment
Install Docker and Configure Permissions
sudo apt update
sudo apt install docker.io
sudo usermod -aG docker $USER
newgrp docker # refresh the user group, or just log out and log back into the terminalInstall and Configure the K230 Shortcut Commands
curl -fsSL https://www.kendryte.com/misc/install.sh | bash
source ~/.bashrcCreate a Working Directory and Pull the Build Environment
mkdir -p ~/rtos_k230 && cd ~/rtos_k230
k230 pull # pull the K230-based Docker image; the first run takes a while depending on your networkInstall the Toolchain
k230 download-toolchains TC1 TC3Download the Source Code
# initialize repo and sync the code
k230 repo init -u git@gitee.com:canmv-k230/manifest.git --repo-url=git@gitee.com:canmv-k230/git-repo.git
k230 repo sync -j$(nproc)Select the Board Configuration and Build
k230 make list-def # list all supported board configurations
k230 make k230_rtos_01studio_defconfig # select the configuration for the board you have
k230 make # start building the firmwareCommon Issues
Upgrading the CMake Version
1. Download and extract it to the current user's home directory (~)
cd ~
wget https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz
tar -zxvf cmake-3.28.1-linux-x86_64.tar.gz2. Temporarily add the new CMake to the environment variables
export PATH="$HOME/cmake-3.28.1-linux-x86_64/bin:$PATH"3. Verify the version
cmake --versionChangelog
9/25/26, 12:44 PM
View All Changelog
0ca31-on