Skip to content
Kendryte K210 SDK with FreeRTOS
C C++ Other
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add github issue and PR templates Sep 20, 2018
cmake fix small issue May 29, 2019
lds Enlarge minimal stack size Jan 25, 2019
lib fix SD_SPI_HIGH_CLOCK_RATE Jul 17, 2019
src remove un-used cmake instructions. notice user see example cmake file. Sep 20, 2018
third_party fix network driver:add select,ioctl;expand TCP packet length Feb 27, 2019
.gitignore update package name Jun 3, 2019
.travis.yml Move demo git repo to other place Mar 19, 2019
CMakeLists.txt Update comment May 29, 2019
LICENSE first commit Sep 13, 2018 Add windows build guide Apr 11, 2019
kendryte-package.json remove invalid Source define Aug 12, 2019

Kendryte K210 FreeRTOS SDK

Build Status License

This SDK is for Kendryte K210 which contains FreeRTOS support. If you have any questions, please be free to contact us.


If you want to start a new project, for instance, hello_world, you only need to:

  • Linux and OSX

mkdir your project in src/, cd src && mkdir hello_world, then put your codes in it, and build it.

mkdir build && cd build
cmake .. -DPROJ=<ProjectName> -DTOOLCHAIN=/opt/riscv-toolchain/bin && make
  • Windows

Download and install latest CMake.

Download cmake-3.14.1-win64-x64.msi

Download and install latest toolchain.

Download kendryte-toolchain-win-i386-8.2.0-20190409.tar.xz

Open a Windows Powershell, cd to Project directory.

mkdir your project in src/, cd src && mkdir hello_world, then put your codes in it, and build it.

$env:Path="E:\kendryte-toolchain\bin;C:\Program Files\CMak
e\bin" +  $env:Path

mkdir build && cd build
cmake -G "MinGW Makefiles" ../../../..

You will get 2 key files, hello_world and hello_world.bin.

  1. If you are using JLink to run or debug your program, use hello_world
  2. If you want to flash it in UOG, using hello_world.bin, then using flash-tool(s) burn .bin to your flash.

This is very important, don't make a mistake in files.

If you don't like place code inside SDK, see CMakeLists.txt.example.cmake

You can’t perform that action at this time.