Sen descrición

zhkag 9c0224936d add RT-Thread_Packages_Test ci %!s(int64=2) %!d(string=hai) anos
.github 9c0224936d add RT-Thread_Packages_Test ci %!s(int64=2) %!d(string=hai) anos
.vscode 573a00dfc8 [nncase] Update runtime %!s(int64=6) %!d(string=hai) anos
cmake 06a2ea71f2 support ai lib %!s(int64=5) %!d(string=hai) anos
lds d740f55894 Add nncase v1.0 runtime %!s(int64=4) %!d(string=hai) anos
lib 02576ba67e Fix nncase link issue %!s(int64=4) %!d(string=hai) anos
scripts 804a11f92d create format rule and reformat %!s(int64=6) %!d(string=hai) anos
src d1f33dd8be Modify system default print uart %!s(int64=6) %!d(string=hai) anos
third_party 9b61893150 update nncase v1 to 8c384a (#125) %!s(int64=4) %!d(string=hai) anos
.clang-format 804a11f92d create format rule and reformat %!s(int64=6) %!d(string=hai) anos
.gitignore 6c201580a0 Support KModel V4 %!s(int64=6) %!d(string=hai) anos
.travis.yml 38786f96de Move demo git repo to other place %!s(int64=7) %!d(string=hai) anos
CHANGELOG.md c30cb63bf0 Update CHANGELOG.md to add alarm changelog %!s(int64=6) %!d(string=hai) anos
CMakeLists.txt d740f55894 Add nncase v1.0 runtime %!s(int64=4) %!d(string=hai) anos
LICENSE 685084c40a first commit %!s(int64=7) %!d(string=hai) anos
README.md 8190c2a0eb support rt-thread %!s(int64=3) %!d(string=hai) anos
README_zh.md 48dd994b0b Update README_zh.md %!s(int64=3) %!d(string=hai) anos
SConscript 50bf8c4d15 [k210] 修正新版SDK文件路径迁移导致的错误 %!s(int64=3) %!d(string=hai) anos
kendryte-package.json 5c2152175f [IDE] add opt %!s(int64=6) %!d(string=hai) anos
package.json 5a7d989fcd update for IDE %!s(int64=6) %!d(string=hai) anos

README.md

Kendryte K210 standalone SDK

RT-Thread 适配说明(中文)

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

Usage

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, enter SDK root directory 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" ../../../..
make

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.
  3. This is very important, don't make a mistake in files.