Go to file
latyas c68cb82a3c
Merge pull request #13 from kendryte/develop
Release v0.5.0
2018-10-28 01:41:48 +08:00
.github Add github issue and PR templates 2018-09-21 17:05:12 +08:00
cmake Modify cmake. Find toolchain automatically.Fix undefined reference to __dso_handle bug 2018-10-24 18:06:12 +08:00
lds Recover crts ld 2018-09-28 18:28:11 +08:00
lib Add kpu comment 2018-10-26 17:23:25 +08:00
src/hello_world Update hello_world 2018-10-10 12:11:01 +08:00
.gitignore first commit 2018-09-13 22:06:11 +08:00
CHANGELOG.md Add tag 0.3.0 2018-09-30 21:00:50 +08:00
CMakeLists.txt Modify cmake. Find toolchain automatically.Fix undefined reference to __dso_handle bug 2018-10-24 18:06:12 +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.