Go to file
zhaozhongxiang 8c6b3f2291 Modify style 2019-01-11 16:36:55 +08:00
.github Add github issue and PR templates 2018-09-21 17:05:12 +08:00
cmake Recover freertos 2019-01-08 19:10:54 +08:00
lds Recover freertos 2019-01-08 19:10:54 +08:00
lib Modify style 2019-01-11 16:36:55 +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
CHANGELOG.md Recover freertos 2019-01-08 19:10:54 +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 first commit 2018-09-13 22:06:11 +08:00

README.md

Kendryte K210 standalone SDK

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, 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.