Standalone SDK for kendryte K210 https://kendryte.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Neucrack 4197e977c7 update freeRTOS add get stack info 1 month ago
.github change spi dma write_cmd buffer size 1 year ago
cmake update kpu 4 months ago
lds change spi dma write_cmd buffer size 1 year ago
lib update freeRTOS add get stack info 1 month ago
src !!! compile must have hello_world project 1 year ago
.gitignore Add kendryte-standalone-demo 1 year ago
.travis.yml Move demo git repo to other place 1 year ago
CHANGELOG.md 0.5.5 changelog 1 year ago
CMakeLists.txt Fix CMakeLists.txt to properly compile and link asm files 1 year ago
LICENSE first commit 1 year ago
README.md Add apache license 1 year ago
kendryte-package.json Modify package.json to kendryte-package.json 1 year ago

README.md

Kendryte K210 standalone SDK

Build Status License

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.

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