Go to file
Guo Hui 655c77623d Add kpu functions 2018-11-23 20:56:44 +08:00
.github Add github issue and PR templates 2018-09-21 17:05:12 +08:00
cmake Add kpu functions 2018-11-23 20:56:44 +08:00
lds Add FreeRTOS 2018-11-21 11:25:43 +08:00
lib Add kpu functions 2018-11-23 20:56:44 +08:00
src Modify src gitignore 2018-11-07 22:12:49 +08:00
.gitignore Add FreeRTOS 2018-11-21 11:25:43 +08:00
CHANGELOG.md Update CHANGELOG.md 2018-11-12 15:05:57 +08:00
CMakeLists.txt Merge commit 'kendryte/develop^' 2018-11-22 16:17:47 +08: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.