Quick Start Guide#
What You Will Accomplish#
This page helps you complete one verified end-to-end flow in the shortest possible time:
Download the SDK source code
Select a board configuration and build an image
Flash the image to the development board
Log in via serial port and run the first sample
For full documentation, refer to the User Guide:
Prerequisites#
Host OS: Ubuntu 20.04 x86_64 (recommended)
Development board, serial cable, and USB cable (or SD card reader) connected
Network access (for
repo syncand toolchain download)
15-Minute Quick Start#
Download the Source Code#
mkdir -p ~/rtos_k230 && cd ~/rtos_k230
repo init -u git@gitee.com:canmv-k230/manifest.git --repo-url=git@gitee.com:canmv-k230/git-repo.git
repo sync -j $(nproc)
Download the Toolchain (First Time Only)#
make dl_toolchain
Select a Board Configuration#
# List available configurations
make list-def
# Example: 01Studio
make k230_rtos_01studio_defconfig
If your board only has a k230_canmv_*_defconfig, you can select it first and then use menuconfig to disable CanMV and enable RTOS capabilities. See the section “Building an RTOS image when only a CanMV defconfig is available” in How to Build Firmware.
Build the Image#
time make log
Build output is typically located at:
output/<defconfig>/images/
Common files:
*.kdimg: recommended for K230BurningTool (USB)*.img: commonly used for SD card flashing or command-line flashing
Flash and Boot#
It is recommended to flash *.kdimg using K230BurningTool first. See How to Flash Firmware for steps.
After booting, connect to the board using a serial terminal (common baud rate: 115200) to access the RT-Smart shell.
Run the First Sample#
cd /sdcard/app/examples
find . -name "*.elf" | head
./integrated_poc/smart_ipc.elf
If the sample path differs, use the output of find as the reference.
Common Entry Points#
Add or modify an application:
userguide/helloworld.mdView supported sensors and how to enable them:
userguide/sensor_list.mdApplication development guide:
app_develop_guide/index.mdAPI reference:
api_reference/index.md
Recommended Next Steps#
Run a ready-made sample first to verify that the toolchain, flashing, and serial link all work.
Then enable or trim the samples and application switches you need.
Finally, lock in a unified defconfig for your team to avoid configuration drift.
