Go to file
sunnycase d63ede3b94
Merge pull request #28 from kendryte/develop
Release 0.6.0
2018-11-02 20:54:15 +08:00
.github Add github issue and PR templates 2018-09-20 15:00:33 +08:00
cmake Change link order 2018-11-01 11:02:36 +08:00
lds Fix exception table align 2018-10-25 17:45:57 +08:00
lib Fix sys_stat 2018-11-02 20:53:02 +08:00
src remove un-used cmake instructions. notice user see example cmake file. 2018-09-20 23:48:29 +08:00
third_party Fix a bug in filesystem 2018-10-31 10:44:14 +08:00
.gitignore first commit 2018-09-13 21:42:46 +08:00
CHANGELOG.md first commit 2018-09-13 21:42:46 +08:00
CMakeLists.txt Update include directories 2018-11-01 12:17:10 +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