How to run demo first for beginner on Green Board,如何跑通绿色板子的demo
-
大家好,我英语不好哈,写中文。
我最近在用绿色板子想跑通例子,就是官网人脸检测的那个,但是QQ群里小伙伴提到绿色板子不能刷官网的model,是咱们这边内部的测试版本,后来也不怎么维护开发了。
PS:我是一个软件开发,不懂硬件,只想跑通例子demo,让板子可以通过摄像头能做人脸检测,让板子上的小屏幕上显示人脸检测的框。官网download里的问的文档我看了,但是基本都是硬件电路设计方面的,有没有如何在板子上开发的上手教程,谢谢
-
@akirara 感谢
-
@akirara 感谢,已经跑通
-
-
@manageryzy 另外,我是写C++的程序,用哪个toolchain,用riscv的对嘛?是不是用sdk里的gcc下的bin?
-
-
@manageryzy 我看到standalone这个sdk里有写下面:
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.
- If you are using JLink to run or debug your program, use hello_world
- If you want to flash it in UOG, using hello_world.bin, then using flash-tool(s) burn <ProjectName>.bin to your flash.
This is very important, don't make a mistake in files.
我直接用USB-type C的线,连接板子和我的笔记本嘛,但是怎么上传/连接,我对这里这个过程有点懵,不太明白
-
@manageryzy 感谢,这个链接里的我也看了,但怎么让自己的电脑连接板子,上传并执行自己的程序呢?希望有一个guide可以说明,非常感谢!
-
document here https://kendryte.com/downloads/
-
我怎么连接机器开发等等,不太明白,也希望有这样的说明