Go to file
zhaozhongxiang 2d7fb16c55 recover lock 2019-03-22 19:12:00 +08:00
.github Add github issue and PR templates 2018-09-21 17:05:12 +08:00
cmake Fixes #55 2019-03-21 16:22:15 +08:00
lds Recover freertos 2019-01-08 19:10:54 +08:00
lib recover lock 2019-03-22 19:12:00 +08:00
src Modify src gitignore 2018-11-07 22:12:49 +08:00
.gitignore Add kendryte-standalone-demo 2018-12-06 16:29:44 +08:00
.travis.yml Move demo git repo to other place 2019-03-19 13:02:06 +08:00
CHANGELOG.md Modify changelog for 0.5.4 2019-03-21 17:39:06 +08:00
CMakeLists.txt Fix CMakeLists.txt to properly compile and link asm files 2019-01-05 12:37:35 -06:00
LICENSE first commit 2018-09-13 22:06:11 +08:00
README.md Modify build instructions 2019-03-20 19:32:23 +08:00

README.md

Kendryte K210 standalone SDK

Build Status

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:

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

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.