Go to file
jiangxiangbing ac01f5f80d Merge branch 'release/0.5' of github.com:kendryte/kendryte-freertos-sdk into release/0.5 2019-01-11 17:40:58 +08:00
.github Add github issue and PR templates 2018-09-20 15:00:33 +08:00
cmake Backport bug fixes 2018-11-06 20:51:31 +08:00
lds malloc add lock 2019-01-11 17:09:04 +08:00
lib Merge branch 'release/0.5' of github.com:kendryte/kendryte-freertos-sdk into release/0.5 2019-01-11 17:40:58 +08:00
src remove un-used cmake instructions. notice user see example cmake file. 2018-09-20 23:48:29 +08:00
.gitignore Backport bug fixes 2018-11-06 20:51:31 +08:00
CHANGELOG.md first commit 2018-09-13 21:42:46 +08:00
CMakeLists.txt Fix include directories 2018-10-10 20:16:27 +08:00
CMakeLists.txt.example.cmake first commit 2018-09-13 21:42:46 +08:00
LICENSE first commit 2018-09-13 21:42:46 +08:00
README.md Remove the requirement of '/' after the toolchain path 2018-10-18 12:01:52 +08:00

README.md

Kendryte K210 SDK

This SDK is for Kendryte K210 which contains FreeRTOS 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.

If you don't like place code inside SDK, see CMakeLists.txt.example.cmake