Go to file
zzxcanaan 6d05eba111
Merge pull request #19 from kendryte/develop
Develop
2018-11-06 10:37:23 +08:00
.github Add github issue and PR templates 2018-09-21 17:05:12 +08:00
cmake Fix redefine bug 2018-11-01 11:52:40 +08:00
lds Modify stack size 2018-11-01 14:35:17 +08:00
lib Del weak function of handle_irq_m_ext 2018-11-05 10:59:38 +08:00
src Add src gitignore 2018-11-02 20:52:23 +08:00
.gitignore modified: .gitignore 2018-10-30 18:16:34 +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.