This is an old revision of the document!
开发准备
环境相关
1、microUSB线兼顾了供电与USB转串口,连接到电脑的原生USB口
2、按照图片将AIRV的液晶屏和摄像头连接好
3、若还没装驱动,以下是下载链接
- Linux:自带,无需安装
4、准备下载工具
Windows Ubuntu macOS下使用官方下载脚本kflash.py ,需要提前安装python3环境以及pyserial扩展
sudo apt update sudo apt install git python3 python3-pip sudo pip3 install pyserial git clone https://github.com/widora/kflash.py.git
下载命令工具
具体的串口号提前用ls /dev/ttyU*查看。注意:在Ubuntu下3Mbps波特率会出错,暂时先用2M。而在MacOS里没问题。
Ubuntu
sudo python3 kflash.py -p /dev/ttyUSB0 -B airv xxxx.kfpkg -b 2000000
MacOS
python3 kflash.py -p /dev/tty.SLAB_USBtoUART -B airv xxxx.kfpkg -b 3000000
操作视频:
<html>
<iframe src=“player.bilibili.com/player.html?aid=68687469&cid=63799412&page=1” scrolling=“no” border=“0” frameborder=“no” framespacing=“0” width=“800” height=“600” allowfullscreen=“true”> </iframe>
</html>
视频中提到的Demo (开发中建议使用我们即将发布的C SDK)
预烧的Demo: maixpy_v0.2.4_full_with_model_at_0x300000.kfpkg
用到的upyloader工具(windows/linux/mac): https://github.com/BetaRavener/uPyLoader/releases
Demo中运行的py:boot.py
====搭建环境====
* A:Arduino工程:https://github.com/Seeed-Studio/ArduinoCore-k210
* B:官方SDK:https://github.com/kendryte/kendryte-standalone-sdk
====Kendryte IDE(Beta版本测试编译和上传正常)====
* 下载地址:http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn
* IDE说明: https://github.com/kendryte/kendryte-ide/wiki/README.cn
* IDE使用手册:kendryte_ide使用手册.pdf
