modify docs
1
.gitignore
vendored
@@ -4,3 +4,4 @@ temp
|
||||
.vscode
|
||||
.ipynb_checkpoints
|
||||
.qiniu_pythonsdk_hostscache.json
|
||||
*.temp
|
||||
|
Before Width: | Height: | Size: 954 KiB After Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 901 KiB After Width: | Height: | Size: 778 KiB |
|
Before Width: | Height: | Size: 727 KiB After Width: | Height: | Size: 661 KiB |
@@ -1,245 +0,0 @@
|
||||
---
|
||||
title: 系统开发
|
||||
keywords: Linux, Lichee, TH1520, SBC, RISCV, Kernel, SDK, Develop
|
||||
update:
|
||||
- date: 2023-05-08
|
||||
version: v1.0
|
||||
author: wonder
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
## Yocto Linux
|
||||
|
||||
TH1520 的官方开发环境是平头哥的基于 yocto 的开发环境,大家可以在这里获取开发环境: https://gitee.com/thead-yocto/
|
||||
|
||||
本节简单介绍如何搭建 Linux Yocto 环境并使用 Yocto 构建可在开发板上运行的完整镜像。
|
||||
|
||||
### 搭建Yocto编译环境
|
||||
|
||||
Linux SDK 使用 Yocto 构建镜像。Yocto 编译环境使用 Ubuntu18.04,推荐在 Linux 上使用 Docker 部署,也可直接在 Ubuntu18.04 下搭建环境(见[T-Head曳影1520Yocto用户指南.pdf](https://gitee.com/thead-yocto/documents/blob/master/zh/user_guide/T-Head%E6%9B%B3%E5%BD%B11520Yocto%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97.pdf)2.2)。
|
||||
|
||||
这里仅介绍 Linux 上使用 Docker 部署的方式。**建议编译机器预留200G磁盘空间,内存为4G以上,编译时间因网络情况差异很大,在使用代理的情况下编译典型linux系统配置(最小系统加上必要的相关基础组件)时间约为1.5h(CPU为i5-11400,时间供参考)**。
|
||||
- 使用官方脚本安装 docker
|
||||
```bash
|
||||
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
|
||||
```
|
||||
- 下载 dockerfile 并修改用户名和 ID
|
||||
点击下载 [linux-dev-master.7z](https://gitee.com/thead-yocto/documents/blob/master/linux-dev-master.7z) 并解压后,进入到 `linux-dev-master` 目录,打开 `Dockerfile`,找到如下语句
|
||||
```bash
|
||||
ENV DOCKER_USER2 "your the same user name asyour host"`
|
||||
ENV USER2_ID "your user id"
|
||||
```
|
||||
将 "your the same user name asyour host" 改为用户 host os 的用户名,"your user id" 的值对应该用户的密码。
|
||||
- 构建 docker 镜像环境
|
||||
```bash
|
||||
docker build -t linux-dev-base:base .
|
||||
```
|
||||
这里下载的软件包的时候可能会有些报错,可以在 Dockerfile 中进行相应的修改,等到创建好 docker 后登录到 docker 中再进行下载。这个 docker 镜像可以编译 thead 发布的 buildroot、yocto 等 Linux SDK。默认密码为 `123`。
|
||||
- 启动 docker
|
||||
```bash
|
||||
docker run -u thead -dt --name linux-dev-{your_name} -v {your_lock_home}:{your_home} linux-dev-base:base /bin/bash
|
||||
```
|
||||
{your_name} 为容器名称,起名时不要重名。
|
||||
通过 -v 选项可以挂载宿主机的目录,起到类似共享文件的作用,{your_lock_home} 为宿主机的本地路径,{your_home} 为挂载在 docker 里的路径。
|
||||
- 查看启动的 docker 容器
|
||||
```bash
|
||||
docker ps | grep linux-dev-base
|
||||
```
|
||||
就能够看到刚刚启动的 docker 容器。
|
||||
- 登录 docker
|
||||
```bash
|
||||
docker exec -it linux-dev-{your_name} /bin/bash
|
||||
```
|
||||
- 下载开源软件包(仅在第一次获取 SDK 时才需要下载)
|
||||
构建固件时会从网上下载开源软件包,若网络较差,下载时间会比较长。为了加速这一过程,可以先到 gitee 下载离线开源软件包(假设下载到用户目录)
|
||||
```bash
|
||||
cd ~
|
||||
git clone https://gitee.com/thead-yocto/yocto-downloads.git
|
||||
```
|
||||
- 下载 Yocto 构建包
|
||||
```bash
|
||||
git clone https://gitee.com/thead-yocto/xuantie-yocto.git -b Linux_SDK_V1.1.2
|
||||
```
|
||||
- 加载目标设备的配置文件和环境变量(编译前记得检查是否加载)
|
||||
```bash
|
||||
cd xuantie-yocto
|
||||
source openembedded-core/oe-init-build-env thead-build/light-fm
|
||||
```
|
||||
- 将前面下载的开源软件包通过共享 downloads 目录的方式软链接到 SDK 目录
|
||||
```bash
|
||||
ln -s ~/yocto-downloads ../downloads
|
||||
```
|
||||
|
||||
至此,搭建环境已经完成。
|
||||
|
||||
### Machine/Target支持列表
|
||||
|
||||
在上面的加载环境变量步骤中,设置完成后可看到以下信息
|
||||
|
||||
```bash
|
||||
### Shell environment set up for builds. ###
|
||||
You can now run 'bitbake <target>'
|
||||
Common targets are:
|
||||
thead-image-linux
|
||||
thead-image-multimedia
|
||||
thead-image-gui
|
||||
machines:
|
||||
light-beagle
|
||||
light-b-product
|
||||
light-a-val
|
||||
light-lpi4a
|
||||
```
|
||||
|
||||
相关说明如下
|
||||
target(SDK 支持的镜像列表):
|
||||
|
||||
|命名|描述|
|
||||
|---|---|
|
||||
|thead-image-linux|典型linux系统配置,最小系统加上必要的相关基础组件|
|
||||
|thead-image-multimedia|典型linux系统+视频视觉配置,加上视频子系统的组件(Gstreamer等)|
|
||||
|thead-image-gui|加上GUI相关组件的完整配置版本,包括Gnome桌面、weston、QT等应用组件等等|
|
||||
|
||||
machines(SDK 支持的板级配置):
|
||||
|
||||
|命名|描述|
|
||||
|---|---|
|
||||
|light-a-val|TH1520-A EVB板|
|
||||
|light-b-product|TH1520-B EVB板|
|
||||
|light-beagle|beagleV-Ahead开发板|
|
||||
|light-lpi4a|Lichee Pi 4A开发板|
|
||||
|
||||
### 构建镜像
|
||||
|
||||
构建命令格式如下:
|
||||
|
||||
```bash
|
||||
MACHINE={machine} bitbake {target}
|
||||
```
|
||||
|
||||
将其中的 {machine} 和 {target} 部分替换为上面两个表格中对应的命名即可。例如,编译一个在 LicheePi 4A 开发板上运行的典型 Linux 镜像的命令如下:
|
||||
|
||||
```bash
|
||||
MACHINE=light-lpi4a bitbake thead-image-linux
|
||||
```
|
||||
#### 构建镜像时可能会出现的问题
|
||||
|
||||
- 由于网络原因,这一步可能仍会出现下载失败或下载很慢的情况,有条件的话推荐使用代理。
|
||||
- 报错信息
|
||||
```bash
|
||||
Please use a locale setting which supports utf-8.
|
||||
Python can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.
|
||||
```
|
||||
首先运行如下命令
|
||||
```bash
|
||||
sudo apt-get install locales
|
||||
sudo dpkg-reconfigure locales
|
||||
```
|
||||
然后在打印出来的列表中找到`en_US.UTF8`这一项(大概在第158项),输入这一项对应的序号后回车,接下来也选择这一项后回车。
|
||||
完成上述设置步骤后接着运行如下命令(也可考虑将下面的命令加入到docker的`.bashrc`中)
|
||||
```bash
|
||||
sudo locale-gen en_US.UTF-8
|
||||
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
||||
export LANG=en_US.UTF-8
|
||||
```
|
||||
完成上述步骤后再编译就不会出现原来的报错。
|
||||
- 报错信息
|
||||
```bash
|
||||
please install them in order to proceed: lz4c pzstd zstd
|
||||
```
|
||||
安装对应的依赖即可
|
||||
```bash
|
||||
sudo apt update && sudo apt install -y zstd liblz4-tool
|
||||
```
|
||||
### 镜像打包
|
||||
|
||||
在 [light_deploy_images](https://gitee.com/thead-yocto/light_deploy_images/tree/master/tarball) 仓库中,包含了一些预发布镜像。对于刚刚编译好的镜像,可以利用这个仓库中的 `sdk.sh` 脚本来进行打包。
|
||||
首先切换到已经编译好的镜像中的 `light-fm` 目录下,将该仓库中的 `sdk.sh` 移动到这里即可。直接运行该脚本 `./sdk.sh` 即可,打包后会生成相应的镜像,相应文件的位置以及镜像目录的结构参考 [light_deploy_images](https://gitee.com/thead-yocto/light_deploy_images/tree/master/tarball) 仓库。
|
||||
最后,可以将 docker 编译好的镜像及相关文件复制到先前通过 -v 选项挂载的共享文件夹中,宿主机即可使用该文件进行烧录。
|
||||
到这里,我们已经完成了编译和打包,得到了一个可以烧录到开发板中运行的镜像。
|
||||
|
||||
### 单独编译
|
||||
如何单独编译thead官方发布的组件
|
||||
- OpenSBI
|
||||
|
||||
- Uboot
|
||||
```bash
|
||||
git clone https://gitee.com/thead-yocto/u-boot
|
||||
cd u-boot
|
||||
make CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv light_lpi4a_defconfig
|
||||
make CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv
|
||||
```
|
||||
生成的固件路径为,u-boot-with-spl.bin,可使用fastboot进行烧录
|
||||
|
||||
- Kernel
|
||||
|
||||
|
||||
### 设备树解析
|
||||
|
||||
TODO
|
||||
|
||||
### 其他参考资料
|
||||
|
||||
**light_deploy_images 仓库:**
|
||||
|
||||
- 包含已经构建好可烧录的 Linux Image,打包镜像脚本以及其他相关工具,详见仓库。
|
||||
- 仓库地址:[https://gitee.com/thead-yocto/light_deploy_images](https://gitee.com/thead-yocto/light_deploy_images)
|
||||
|
||||
**documents 仓库:**
|
||||
|
||||
- 包含所有发布的 SDK 相关文档
|
||||
- 仓库地址:[https://gitee.com/thead-yocto/documents](https://gitee.com/thead-yocto/documents)
|
||||
|
||||
## Mainline
|
||||
|
||||
如何使用主线正在开发的版本
|
||||
|
||||
### OpenSBI
|
||||
- 下载,编译
|
||||
```bash
|
||||
git clone https://github.com/riscv-software-src/opensbi
|
||||
cd opensbi
|
||||
make CROSS_COMPILE=riscv64-unknown-linux-gnu- PLATFORM=generic
|
||||
```
|
||||
生成的固件路径为,build/platform/generic/firmware/fw_dynamic.bin,拷贝到/boot/
|
||||
|
||||
### U-boot
|
||||
- 下载,编译
|
||||
```bash
|
||||
git clone -b th1520 https://github.com/dlan17/u-boot.git
|
||||
cd u-boot
|
||||
make CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv light_lpi4a_defconfig
|
||||
make CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv
|
||||
```
|
||||
生成的固件路径为,u-boot-dtb.bin,拷贝到/boot/
|
||||
- 使用板载的 U-boot 启动主线开发中的 U-boot
|
||||
开发板内预烧录的 U-boot 已经包含 Ethernet 功能,可以通过 tftp 协议获取新 U-boot 镜像。
|
||||
|
||||
在开发机启动一 tftp 实例,以 Alpine 为例,安装包 `tftp-hpa` 并启用相应服务
|
||||
|
||||
```bash
|
||||
apk add tftp-hpa
|
||||
rc-update add in.tftp
|
||||
rc-service in.tftp start
|
||||
```
|
||||
|
||||
tftp 默认使用 `/var/tftpboot` 作为文件根目录,将编译好的 U-boot `u-boot-dtb.bin` 拷贝到 `/var/tftpboot`。
|
||||
|
||||
连接好 LicheePi 4A 开发版的串口和网线,上电启动并在串口显示
|
||||
```
|
||||
Press any key to stop autoboot
|
||||
```
|
||||
时按任意键停止自动启动进入 U-boot Shell。
|
||||
|
||||
输入 `dhcp` 使用 DHCP 协议配置网卡。开发中的主线 U-boot 加载地址为 0x1c00000,在 U-boot 输入
|
||||
```
|
||||
tftp 0x1c00000 TFTP_SERVER_IP:u-boot-dtb.bin
|
||||
go 0x1c00000
|
||||
```
|
||||
将 U-boot 载入 0x1c00000 地址并跳转启动之。
|
||||
|
||||
### Linux
|
||||
|
||||
## Others
|
||||
|
||||
欢迎投稿~ 投稿接受后可得¥5~150($1~20)优惠券!
|
||||
|
Before Width: | Height: | Size: 888 KiB After Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 580 KiB After Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 600 KiB After Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 799 KiB After Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 658 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 686 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 618 KiB After Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 588 KiB After Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 491 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 913 KiB After Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 494 KiB After Width: | Height: | Size: 179 KiB |
|
Before Width: | Height: | Size: 848 KiB After Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 842 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 822 KiB After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 2.5 MiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 245 KiB After Width: | Height: | Size: 245 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 291 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@@ -1,6 +1,12 @@
|
||||
---
|
||||
title: 基础操作
|
||||
keywords: LogicAnalyzer, debugger, link, RISCV, tool
|
||||
update:
|
||||
- date: 2023-07-23
|
||||
version: v0.1
|
||||
author: lxo
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
SLogic combo8共有4个功能(SLogic、CKLink Debugger、DAP-Link Debugger、USB2UART)。这篇文档用来指导如何选择功能。
|
||||
@@ -9,8 +15,7 @@ SLogic combo8共有4个功能(SLogic、CKLink Debugger、DAP-Link Debugger、U
|
||||
|
||||
上电后,**按下按键**切换功能,切换成功后可以看到**指示灯变化**。
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
(上:红框是切换按键的位置)
|
||||
|
||||
@@ -26,8 +31,6 @@ SLogic combo8共有4个功能(SLogic、CKLink Debugger、DAP-Link Debugger、U
|
||||
|
||||
(上:指示灯颜色/功能对应表)
|
||||
|
||||
|
||||
|
||||
## 面板信息
|
||||
|
||||
通过面板信息可以查阅当前的功能和对应线序:
|
||||
@@ -38,18 +41,14 @@ SLogic combo8共有4个功能(SLogic、CKLink Debugger、DAP-Link Debugger、U
|
||||
|
||||
- 右侧是**SLogic(蓝色)**线序。
|
||||
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
(上:颜色/功能/线序对应图)
|
||||
|
||||
|
||||
举个栗子:
|
||||
举个例子:
|
||||
|
||||
1. 如果要使用SLogic功能,那么需要按下按键将指示灯切换为蓝色,就可以切换到SLogic功能,通过面板的蓝色字体下对应的线序找到SLogic的引脚线序。
|
||||
|
||||
2. 如果要使用UART功能,那么需要按下按键将指示灯切换为红色,就可以切换到UART功能,通过面板的红色字体下对应的线序找到UART的引脚线序。
|
||||
|
||||
好的,现在你已经可以切换到你需要的功能了,进入下一步使用吧~
|
||||
|
||||
好的,现在你已经可以切换到你需要的功能了,进入下一步使用吧~
|
||||
@@ -1,15 +1,19 @@
|
||||
---
|
||||
title: SLogic Combo8
|
||||
keywords: LogicAnalyzer, debugger, link, RISCV, tool
|
||||
update:
|
||||
- date: 2023-07-23
|
||||
version: v0.1
|
||||
author: lxo
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
## 简介
|
||||
|
||||
SLogic combo8是一款基于 Sipeed M0s Dock 进行二次开发而成的逻辑分析仪,同时还兼有CKLink Debugger、DAP-Link Debugger、USB2UART功能,通过按键可以任意切换功能。
|
||||
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 功能参数
|
||||
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
---
|
||||
title: 作为CKLink使用
|
||||
keywords: LogicAnalyzer, debugger, link, RISCV, tool
|
||||
update:
|
||||
- date: 2023-07-23
|
||||
version: v0.1
|
||||
author: lxo
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
SLogic Combo8 具备高速CK-Link功能,且速率远超CK-Link Lite,接近CK-Link Pro,是调试RISC-V芯片的好工具。在此模式下还同时具备一路高速串口(20Mbps)功能。
|
||||
@@ -13,7 +19,7 @@ SLogic Combo8 具备高速CK-Link功能,且速率远超CK-Link Lite,接近CK
|
||||
|
||||
按下切换按键,将指示灯切换为黄色
|
||||
|
||||

|
||||

|
||||
|
||||
> 验证SLogic功能是否开启的方法:
|
||||
>
|
||||
@@ -21,6 +27,4 @@ SLogic Combo8 具备高速CK-Link功能,且速率远超CK-Link Lite,接近CK
|
||||
|
||||
## 开始使用
|
||||
|
||||
在Windows、Linux系统可以直接参考[使用 CDK + Sipeed RV-Debugger Plus 编译调试](https://bouffalolab.gitee.io/bl_mcu_sdk/get_started/cdk_rv_debugger_plus.html#cdk-sipeed-rv-debugger-plus)和[T-HEAD Debug Server 用户手册](https://occ.t-head.cn/document?temp=introduction-2&slug=t-head-debug-server-user-manual),用法完全一样
|
||||
|
||||
#
|
||||
在Windows、Linux系统可以直接参考[使用 CDK + Sipeed RV-Debugger Plus 编译调试](https://bouffalolab.gitee.io/bl_mcu_sdk/get_started/cdk_rv_debugger_plus.html#cdk-sipeed-rv-debugger-plus)和[T-HEAD Debug Server 用户手册](https://occ.t-head.cn/document?temp=introduction-2&slug=t-head-debug-server-user-manual),用法完全一样
|
||||
@@ -1,6 +1,12 @@
|
||||
---
|
||||
title: 作为DAPLink使用
|
||||
keywords: LogicAnalyzer, debugger, link, RISCV, tool
|
||||
update:
|
||||
- date: 2023-07-23
|
||||
version: v0.1
|
||||
author: lxo
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
SLogic Combo8 具备高速DAP-Link功能,适用于各种常规芯片,尤其是在Windows下使用IDE调试的STM32等芯片
|
||||
@@ -9,14 +15,12 @@ SLogic Combo8 具备高速DAP-Link功能,适用于各种常规芯片,尤其
|
||||
|
||||
按下切换按键,将指示灯切换为绿色
|
||||
|
||||

|
||||

|
||||
|
||||
> 验证SLogic功能是否开启的方法:
|
||||
>
|
||||
|
||||
> Linux:使用lsusb命令可以看到出现了CMSIS-DAP HS的USB设备
|
||||
|
||||
|
||||
|
||||
### 开始使用
|
||||
|
||||
以STM32F103C8T6芯片在Windows MDK IDE为例介绍具体使用步骤:连接,下载、调试固件,演示使用的MDK版本为当前最新版(V5.38)
|
||||
@@ -24,13 +28,13 @@ SLogic Combo8 具备高速DAP-Link功能,适用于各种常规芯片,尤其
|
||||
- 首先通过STM32CUBEMX快速生成工程项目,注意生成项目的最低版本号
|
||||
- 使用MDK连接DAPLink
|
||||
|
||||

|
||||

|
||||
|
||||
- 使用MDK下载固件
|
||||
|
||||

|
||||

|
||||
|
||||
- 使用MDK调试固件
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
---
|
||||
title: 作为串口模块使用
|
||||
keywords: LogicAnalyzer, debugger, link, RISCV, tool
|
||||
update:
|
||||
- date: 2023-07-23
|
||||
version: v0.1
|
||||
author: lxo
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
SLogic Combo8 具备4路独立高速串口功能,前两路基于UART可同时达到20Mbps的超高速波特率,后两路通过IO模拟最高可达1Mbps。非常适合批量烧录,生产测试等场景。
|
||||
@@ -9,14 +15,13 @@ SLogic Combo8 具备4路独立高速串口功能,前两路基于UART可同时
|
||||
|
||||
按下切换按键,将指示灯切换为红色
|
||||
|
||||

|
||||

|
||||
|
||||
> 验证SLogic功能是否开启的方法:
|
||||
>
|
||||
|
||||
> Linux:使用lsusb命令可以看到出现了UARTx4 HS的USB设备
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## 开始使用
|
||||
@@ -47,7 +52,7 @@ sudo apt install minicom
|
||||
|
||||
以minicom为例,使用`CTRL+ALT+T`打开Linux终端,输入安装指令,将会提示输入该Linux系统管理员用户密码,输入密码后回车,静待软件包安装完成
|
||||
|
||||

|
||||

|
||||
|
||||
完成安装后,使用UART0与测试设备进行通信,于终端输入命令:
|
||||
|
||||
@@ -57,14 +62,15 @@ sudo minicom -b 2000000 -D /dev/ttyACM0
|
||||
|
||||
-b参数指定所需的波特率,与测试设备UART串口设置波特率相同即可
|
||||
-D参数指定监听的端口号
|
||||

|
||||

|
||||
|
||||
命令输入后即与测试设备进行通信,收到信息将于终端进行打印;以及向测试设备发送数据。
|
||||
|
||||
#### 串口回传测试:
|
||||
|
||||

|
||||

|
||||
(上:串口模块接线图)
|
||||
|
||||
回传测试结果:
|
||||

|
||||
|
||||

|
||||
@@ -1,10 +1,19 @@
|
||||
# 作为逻辑分析仪使用
|
||||
---
|
||||
title: 作为逻辑分析仪使用
|
||||
keywords: LogicAnalyzer, debugger, link, RISCV, tool
|
||||
update:
|
||||
- date: 2023-07-23
|
||||
version: v0.1
|
||||
author: lxo
|
||||
content:
|
||||
- Release docs
|
||||
---
|
||||
|
||||
## 开启逻辑分析仪功能
|
||||
|
||||
按下按键将指示灯切换为蓝色。如下图所示:
|
||||
|
||||

|
||||

|
||||
|
||||
## 验证逻辑分析仪功能是否开启
|
||||
|
||||
@@ -12,11 +21,11 @@ Linux:
|
||||
|
||||
使用lsusb命令可以看到出现了USB TO LA的USB设备
|
||||
|
||||

|
||||

|
||||
|
||||
## 使用USB TO LA
|
||||
|
||||
>目前逻辑分析仪仅支持Linux系统使用
|
||||
> 目前逻辑分析仪仅支持Linux系统使用
|
||||
|
||||
### 快速使用
|
||||
|
||||
@@ -24,7 +33,7 @@ Linux:
|
||||
|
||||
将目标设备的待测信号点连接至SLogic任意空闲CH端口,并确保待测设备的GND与SLogic的GND相连接
|
||||
|
||||

|
||||

|
||||
|
||||
#### 连接SLogic和电脑
|
||||
|
||||
@@ -37,17 +46,15 @@ sudo ./PulseView-x86_64-032323-1101.AppImage
|
||||
|
||||
**连接步骤**
|
||||
1. 选择连接设备
|
||||
2. 选择驱动程序**Sipeed Slogic Analyzer(sipeed-slogic-analyzer)**
|
||||
2. 选择驱动程序 **Sipeed Slogic Analyzer(sipeed-slogic-analyzer)**
|
||||
3. 选择连接方式为USB
|
||||
4. 扫描符合要求的设备
|
||||
5. 选择已找到的设备
|
||||
|
||||

|
||||

|
||||
|
||||
> 若第三步未找到设备 可尝试切换模块功能 重新切换至逻辑分析仪模式 并重复第三步
|
||||
|
||||
|
||||
|
||||
### 开始采样
|
||||
|
||||
1. 配置PulseView的通道数、采样点数和采样率
|
||||
@@ -56,17 +63,17 @@ sudo ./PulseView-x86_64-032323-1101.AppImage
|
||||
|
||||
下图设置通道数为**8**,采样点数为**1M samples**,采样率为**10Mhz**
|
||||
|
||||

|
||||

|
||||
|
||||
2. 设置D0通道的触发方式为**上下边沿触发**
|
||||
|
||||
点击D0通道的标签图案来设置触发方式
|
||||
|
||||

|
||||

|
||||
|
||||
3. 启动采集,并获得采样结果
|
||||
|
||||

|
||||

|
||||
|
||||
### 详细配置
|
||||
|
||||
@@ -74,8 +81,7 @@ sudo ./PulseView-x86_64-032323-1101.AppImage
|
||||
|
||||
打开顶部工具栏中的 **“红色探针”** 图标,选择所需启用的通道,以及逻辑分析仪的采样通道数,可选的选项有1ch、2ch、4ch和8ch。同时设有快捷键,对满足相应条件的通道进行快捷开关
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
#### 采样参数
|
||||
|
||||
@@ -85,12 +91,10 @@ sudo ./PulseView-x86_64-032323-1101.AppImage
|
||||
2. 采样频率:根据被测信号频率选择,**推荐选择大于10倍被测信号频率**
|
||||
3. 采样时间:采样时间根据采集**样本数量**以及**采样频率**进行计算,计算公式为:</br>**时间(秒)= 样本数 / 采样率**</br>例如1M samples,1Mhz时,采样时间为1s
|
||||
|
||||

|
||||

|
||||
|
||||
> 设置完成采集样本数量、采样频率后,将鼠标至于采集样本数量选择框上,会显示当前参数的采样时间
|
||||
|
||||
|
||||
|
||||
#### 通道参数
|
||||
|
||||
点击通道的标签来设置通道参数,通道参数包括有标签名、标签颜色、通道波形显示窗口宽度和信号触发方式
|
||||
@@ -100,9 +104,7 @@ sudo ./PulseView-x86_64-032323-1101.AppImage
|
||||
3. 通道波形显示窗口宽度:根据信号幅值设置,单位为像素,信号幅值变化大时,可提高该参数便于观察信号幅值变化
|
||||
4. **信号触发方式**:具有**直接采样**、**高电平触发**、**低电平触发**、**下降沿触发**、**上升沿触发**以及**边沿触发**
|
||||
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
### 调试波形
|
||||
|
||||
@@ -115,21 +117,21 @@ sudo ./PulseView-x86_64-032323-1101.AppImage
|
||||
> - **时间测量**:您可以通过,在所需的位置右键点击鼠标点击"创建标记点(Create Marker Here)"来标记位置,当您重复标记其他位置时,软件会自动计算并在时间轴上显示两个标记点之间的时间长度
|
||||
> - **调整通道顺序**:鼠标拖动通道标签即可拖动通道至指定位置
|
||||
|
||||

|
||||

|
||||
|
||||
#### 协议解码
|
||||
|
||||
> 从顶部工具栏点击**黄蓝波形图标**会列出目前已支持的协议列表,列表上可直接搜索所需解码的协议即可新增协议,新增协议可在波形显示区中查看
|
||||
|
||||

|
||||

|
||||
|
||||
> 在波形图上,新增协议将会占据一行通道波形显示窗口,点击**协议标签**,您可以设置协议的基本参数。以UART协议为例,设置UART协议频率为115200、数据位为8位、使用ascii格式解码。设置完毕后,系统将会对所选通道的波形进行解码,以便更直观地观察和分析通信数据。
|
||||
|
||||

|
||||

|
||||
|
||||
> 完成设置后,在波形显示区域将显示波形对应的协议解码结果
|
||||
|
||||

|
||||

|
||||
|
||||
### 注意事项
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 842 KiB After Width: | Height: | Size: 842 KiB |
|
Before Width: | Height: | Size: 868 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 770 KiB After Width: | Height: | Size: 511 KiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 500 KiB |
@@ -1,746 +0,0 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"label": "产品总览",
|
||||
"file": "README.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Zero",
|
||||
"items": [
|
||||
{
|
||||
"label": "Maix M0",
|
||||
"items": [
|
||||
{
|
||||
"label": "M0sense 开发板",
|
||||
"file": "./maixzero/sense/maix_zero_sense.md"
|
||||
},
|
||||
{
|
||||
"label": "M0sense 基础使用",
|
||||
"file": "./maixzero/sense/start.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix M0P",
|
||||
"items": [
|
||||
{
|
||||
"label":"M0P",
|
||||
"file": "./maixzero/m0p/m0p.md"
|
||||
},
|
||||
{
|
||||
"label":"M0P Dock",
|
||||
"file": "./maixzero/m0p/m0p_dock.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix M0S",
|
||||
"file": "./maixzero/m0s/m0s.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix-I",
|
||||
"items": [
|
||||
{
|
||||
"label": "Maix M1",
|
||||
"items": [
|
||||
{
|
||||
"label": "M1 模块",
|
||||
"items": [
|
||||
{
|
||||
"label": "M1/M1w",
|
||||
"file": "maix/core_module.md"
|
||||
},
|
||||
{
|
||||
"label": "M1n",
|
||||
"file": "maix/M1n.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "M1 开发板",
|
||||
"items": [
|
||||
{
|
||||
"label": "Maix Bit",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_bit.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Dock(M1/M1W)",
|
||||
"file": "maix/maixpy_develop_kit_board/Maix_dock.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Duino",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_duino.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Nano",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_nano.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Cube",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_cube.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Amigo",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_Amigo.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix HAT",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_hat.md"
|
||||
},
|
||||
{
|
||||
"label": "Maix Go(售罄)",
|
||||
"file": "maix/maixpy_develop_kit_board/maix_go.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix M1s",
|
||||
"items": [
|
||||
{
|
||||
"label": "M1s 模块",
|
||||
"file": "maix/m1s/m1s_module.md"
|
||||
},
|
||||
{
|
||||
"label": "M1s 开发板",
|
||||
"items": [
|
||||
{
|
||||
"label": "简介",
|
||||
"file": "maix/m1s/m1s_dock.md"
|
||||
},
|
||||
{
|
||||
"label": "上手使用",
|
||||
"file": "maix/m1s/other/start.md"
|
||||
},
|
||||
{
|
||||
"label": "其他事项(摄像头和外壳)",
|
||||
"file": "maix/m1s/other/others.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix M1a",
|
||||
"items": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix-II",
|
||||
"items": [
|
||||
{
|
||||
"label": "MaixII-Dock",
|
||||
"file": "maixII/M2/resources.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "烧录系统",
|
||||
"file": "maixII/M2/flash.md"
|
||||
},
|
||||
{
|
||||
"label": "基础使用",
|
||||
"file": "maixII/M2/usage.md"
|
||||
},
|
||||
{
|
||||
"label": "其他事项",
|
||||
"file": "maixII/M2/other.md"
|
||||
},
|
||||
{
|
||||
"label": "连接MaixPy3",
|
||||
"file": "../../soft/maixpy3/zh/tools/0.MaixII-Dock.ipynb",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"label": "FAQ",
|
||||
"file": "maixII/M2/faq.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "MaixII-S",
|
||||
"file": "maixII/M2S/V833.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "板级资源介绍",
|
||||
"file": "maixII/M2S/reources.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "MaixII-Sense",
|
||||
"file": "maixII/M2A/maixsense.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "烧录系统",
|
||||
"file": "maixII/M2A/flash_system.md"
|
||||
},
|
||||
{
|
||||
"label": "配置系统",
|
||||
"file": "maixII/M2A/config_system.md"
|
||||
},
|
||||
{
|
||||
"label": "基本使用",
|
||||
"file": "maixII/M2A/Usages.md"
|
||||
},
|
||||
{
|
||||
"label": "连接MaixPy3",
|
||||
"file": "../../soft/maixpy3/zh/tools/maixsense.md",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix-III",
|
||||
"items": [
|
||||
{
|
||||
"label": "Maix-III AXera-Pi",
|
||||
"file": "maixIII/ax-pi/axpi.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "产品上手指南",
|
||||
"file": "maixIII/ax-pi/flash_system.md"
|
||||
},
|
||||
{
|
||||
"label": "系统使用手册",
|
||||
"file": "maixIII/ax-pi/basic_usage.md"
|
||||
},
|
||||
{
|
||||
"label": "试试 Python 编程",
|
||||
"file": "maixIII/ax-pi/python_api.ipynb"
|
||||
},
|
||||
{
|
||||
"label": "开始 C/C++ 编程",
|
||||
"file": "maixIII/ax-pi/dev_prepare.md"
|
||||
},
|
||||
{
|
||||
"label": "AI 开发指南",
|
||||
"url": "/ai/zh/deploy/ax-pi.html"
|
||||
},
|
||||
{
|
||||
"label": "常见问题(FAQ)",
|
||||
"file": "maixIII/ax-pi/faq_axpi.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "LicheePi",
|
||||
"items": [
|
||||
{
|
||||
"label": "LicheePI 4A",
|
||||
"items":[
|
||||
{
|
||||
"label": "Lichee Module 4A",
|
||||
"file": "lichee/th1520/lm4a.md"
|
||||
},
|
||||
{
|
||||
"label": "Lichee PI 4A",
|
||||
"items":[
|
||||
{
|
||||
"label":"板卡介绍",
|
||||
"file":"lichee/th1520/lpi4a/1_intro.md"
|
||||
},
|
||||
{
|
||||
"label":"开箱体验",
|
||||
"file":"lichee/th1520/lpi4a/2_unbox.md"
|
||||
},
|
||||
{
|
||||
"label":"镜像集合",
|
||||
"file":"lichee/th1520/lpi4a/3_images.md"
|
||||
},
|
||||
{
|
||||
"label":"烧录镜像",
|
||||
"file":"lichee/th1520/lpi4a/4_burn_image.md"
|
||||
},
|
||||
{
|
||||
"label":"桌面系统基础使用",
|
||||
"file":"lichee/th1520/lpi4a/5_desktop.md"
|
||||
},
|
||||
{
|
||||
"label":"外设使用",
|
||||
"file":"lichee/th1520/lpi4a/6_peripheral.md"
|
||||
},
|
||||
{
|
||||
"label":"系统开发",
|
||||
"items":[
|
||||
{
|
||||
"label":"revyos",
|
||||
"file":"lichee/th1520/lpi4a/7_develop_revyos.md"
|
||||
},
|
||||
{
|
||||
"label":"Linux 主线 (编写中)"
|
||||
},
|
||||
{
|
||||
"label":"THead Yocto",
|
||||
"file":"lichee/th1520/lpi4a/7_develop_thead.md"
|
||||
},
|
||||
{
|
||||
"label":"Android (编写中)"
|
||||
},
|
||||
{
|
||||
"label":"OpenHarmony (编写中)"
|
||||
},
|
||||
{
|
||||
"label":"OpenWRT (编写中)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label":"典型应用",
|
||||
"file":"lichee/th1520/lpi4a/8_application.md"
|
||||
},
|
||||
{
|
||||
"label":"CPU 跑分测试",
|
||||
"file":"lichee/th1520/lpi4a/9_benchmark.md"
|
||||
},
|
||||
{
|
||||
"label":"硬件测试报告",
|
||||
"file":"lichee/th1520/lpi4a/10_test_report.md"
|
||||
},
|
||||
{
|
||||
"label":"致谢",
|
||||
"file":"lichee/th1520/lpi4a/11_credits.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "LicheePI RV",
|
||||
"items": [
|
||||
{
|
||||
"label": "板卡介绍",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "LicheePI RV",
|
||||
"file": "lichee/RV/RV.md"
|
||||
},
|
||||
{
|
||||
"label": "LicheePI RV 86 Panel",
|
||||
"file": "lichee/RV/86_panel.md"
|
||||
},
|
||||
{
|
||||
"label": "LicheePI RV Dock",
|
||||
"file": "lichee/RV/Dock.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "烧录系统",
|
||||
"file": "lichee/RV/flash.md"
|
||||
},
|
||||
{
|
||||
"label": "基础上手",
|
||||
"file": "lichee/RV/user.md"
|
||||
},
|
||||
{
|
||||
"label": "常见问题",
|
||||
"file": "lichee/RV/problems.md"
|
||||
},
|
||||
{
|
||||
"label": "使用 Ubuntu 镜像",
|
||||
"file": "lichee/RV/ubuntu.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "LicheePI Zero",
|
||||
"file": "lichee/Zero/Zero.md"
|
||||
},
|
||||
{
|
||||
"label": "LicheePI Nano",
|
||||
"file": "lichee/Nano/Nano.md"
|
||||
},
|
||||
{
|
||||
"label": "LicheePI ZeroPlus",
|
||||
"file": "lichee/ZeroPlus/ZeroPlus.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Tang FPGA",
|
||||
"items": [
|
||||
{
|
||||
"label": "Tang Nano",
|
||||
"items": [
|
||||
{
|
||||
"label": "Tang Nano 1K",
|
||||
"file": "tang/Tang-Nano-1K/Nano-1k.md"
|
||||
},
|
||||
{
|
||||
"label": "Tang Nano 4k",
|
||||
"file": "tang/Tang-Nano-4K/Nano-4K.md"
|
||||
},
|
||||
{
|
||||
"label": "Tang Nano 9K",
|
||||
"file": "tang/Tang-Nano-9K/Nano-9K.md"
|
||||
},
|
||||
{
|
||||
"label": "Tang Nano 20K",
|
||||
"items":[
|
||||
{
|
||||
"label":"介绍",
|
||||
"file": "tang/tang-nano-20k/nano-20k.md"
|
||||
},
|
||||
{
|
||||
"label":"开箱",
|
||||
"file":"tang/tang-nano-20k/example/unbox.md",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Tang Nano (售罄)",
|
||||
"file": "tang/Tang-Nano/Nano.md"
|
||||
},
|
||||
{
|
||||
"label": "安装 IDE",
|
||||
"file": "tang/Tang-Nano-Doc/get_started/install-the-ide.md"
|
||||
},
|
||||
{
|
||||
"label": "例程汇总",
|
||||
"file": "tang/Tang-Nano-Doc/examples.md",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"label": "常见问题",
|
||||
"file": "tang/Tang-Nano-Doc/questions.md",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Tang Primer",
|
||||
"items": [
|
||||
{
|
||||
"label": "Tang Primer 20K",
|
||||
"items": [
|
||||
{
|
||||
"label": "板卡介绍",
|
||||
"file": "tang/tang-primer-20k/primer-20k.md"
|
||||
},
|
||||
{
|
||||
"label": "开箱使用",
|
||||
"file": "tang/tang-primer-20k/start.md"
|
||||
},
|
||||
{
|
||||
"label": "安装 IDE",
|
||||
"file": "tang/Tang-Nano-Doc/get_started/install-the-ide.md"
|
||||
},
|
||||
{
|
||||
"label": "例程汇总",
|
||||
"file": "tang/tang-primer-20k/example.md"
|
||||
},
|
||||
{
|
||||
"label": "常见问题",
|
||||
"file": "tang/Tang-Nano-Doc/questions.md",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label":"Tang Primer 25K"
|
||||
},
|
||||
{
|
||||
"label": "Tang Primer (售罄)",
|
||||
"file": "tang/Tang-primer/Tang-primer.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "板卡介绍",
|
||||
"file": "tang/Tang-primer/readme.md"
|
||||
},
|
||||
{
|
||||
"label": "安装 TD",
|
||||
"items": [
|
||||
{
|
||||
"label": "Windows安装TD",
|
||||
"file": "tang/Tang-primer/get_started/install_TD_win.md"
|
||||
},
|
||||
{
|
||||
"label": "Linux安装TD",
|
||||
"file": "tang/Tang-primer/get_started/install_linux.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "使用FPGA点灯",
|
||||
"file": "tang/Tang-primer/fpga/led.md"
|
||||
},
|
||||
{
|
||||
"label": "搭建蜂鸟开发环境",
|
||||
"file": "tang/Tang-primer/get_started/E203.md"
|
||||
},
|
||||
{
|
||||
"label": "FPGA码流烧录",
|
||||
"file": "tang/Tang-primer/get_started/fpga_download.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label":"Tang Mega"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "MaixSense",
|
||||
"file": "maixsense/readme.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "MaixSense-a010",
|
||||
"file": "maixsense/maixsense-a010/maixsense-a010.md"
|
||||
},
|
||||
{
|
||||
"label": "MaixSense-a075v",
|
||||
"file": "maixsense/maixsense-a075v/maixsense-a075v.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Maix Audio",
|
||||
"items": [
|
||||
{
|
||||
"label": "MA USB 16"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "SLogic",
|
||||
"items": [
|
||||
{
|
||||
"label": "SLogic Combo8",
|
||||
"file": "logic_analyzer/combo8/readme.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "基础操作",
|
||||
"file": "logic_analyzer/combo8/basic_operation.md"
|
||||
},
|
||||
{
|
||||
"label": "作为逻辑分析仪使用",
|
||||
"file": "logic_analyzer/combo8/use_logic_function.md"
|
||||
},
|
||||
{
|
||||
"label": "作为CKLink使用",
|
||||
"file": "logic_analyzer/combo8/use_cklink_function.md"
|
||||
},
|
||||
{
|
||||
"label": "作为DAPLink使用",
|
||||
"file": "logic_analyzer/combo8/use_daplink_function.md"
|
||||
},
|
||||
{
|
||||
"label": "作为串口模块使用",
|
||||
"file": "logic_analyzer/combo8/use_fouruart_function.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Longon",
|
||||
"items": [
|
||||
{
|
||||
"label": "Longon Nano",
|
||||
"file": "longan/Nano/Longan_nano.md",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "PIO配置",
|
||||
"file": "longan/Nano/get_started/pio.md"
|
||||
},
|
||||
{
|
||||
"label": "点灯测试",
|
||||
"file": "longan/Nano/get_started/blink.md"
|
||||
},
|
||||
{
|
||||
"label": "DEBUG 调试",
|
||||
"file": "longan/Nano/get_started/debug.md",
|
||||
"items": [
|
||||
{
|
||||
"label": "使用 Sipeed 调试器",
|
||||
"file": "longan/Nano/get_started/sipeed-debugger.md"
|
||||
},
|
||||
{
|
||||
"label": "使用 RV-LINK",
|
||||
"file": "longan/Nano/get_started/rv-link.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "示例",
|
||||
"items": [
|
||||
{
|
||||
"label": "串口输出",
|
||||
"file": "longan/Nano/examples/printf.md"
|
||||
},
|
||||
{
|
||||
"label": "播放 Badapple",
|
||||
"file": "longan/Nano/examples/badapple.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "MaixFace",
|
||||
"items": [
|
||||
{
|
||||
"label": "MF-ST40 人脸识别模块",
|
||||
"file": "maixface/mfst40/mfst40.md"
|
||||
},
|
||||
{
|
||||
"label": "MF 资料",
|
||||
"items": [
|
||||
{
|
||||
"label": "MF 人脸识别模块 PCB 设计注意事项",
|
||||
"file": "maixface/mf_ml_module/mf_precautions.md"
|
||||
},
|
||||
{
|
||||
"label": "点我前往 github 查看全部资料",
|
||||
"url": "https://github.com/sipeed/MF1-User-Manual"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "外设模组",
|
||||
"items": [
|
||||
{
|
||||
"label": "SP-MOD外设模组",
|
||||
"items": [
|
||||
{
|
||||
"label": "转接板类",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "SP-Extender",
|
||||
"file": "modules_spmod/spmod_extender.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-Grove",
|
||||
"file": "modules_spmod/spmod_grove.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-FPC",
|
||||
"file": "modules_spmod/spmod_fpc.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-MicArray",
|
||||
"file": "modules_spmod/spmod_micarray.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-JotStick",
|
||||
"file": "modules_spmod/spmod_joystick.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-Servo",
|
||||
"file": "modules_spmod/spmod_servo.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-TypeC",
|
||||
"file": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "传感器类",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "SP-Weather",
|
||||
"file": "modules_spmod/spmod_weather.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-TOF-1P",
|
||||
"file": "modules_spmod/spmod_tof.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "通信类",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "SP-BT",
|
||||
"file": "modules_spmod/spmod_bt.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-LoRa",
|
||||
"file": "modules_spmod/spmod_lora.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-PSRAM",
|
||||
"file": "modules_spmod/spmod_psram.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-RFID",
|
||||
"file": "modules_spmod/spmod_rfid.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-Ethernet",
|
||||
"file": "modules_spmod/spmod_ethernet.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "显示类",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "SP-LCD 1.14",
|
||||
"file": "modules_spmod/spmod_lcd1.14.md"
|
||||
},
|
||||
{
|
||||
"label": "SP-Eink",
|
||||
"file": "modules_spmod/spmod_eink.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "模块 & 调试器",
|
||||
"items": [
|
||||
{
|
||||
"label": "调试器 & 串口模块",
|
||||
"file": "modules/debugger_and_uart.md"
|
||||
},
|
||||
{
|
||||
"label": "模块",
|
||||
"collapsed": false,
|
||||
"items": [
|
||||
{
|
||||
"label": "摄像头",
|
||||
"file": "modules/camera_summary.md"
|
||||
},
|
||||
{
|
||||
"label": "麦克风模块",
|
||||
"items": [
|
||||
{
|
||||
"label": "麦克风阵列",
|
||||
"file": "modules/micarray.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Sipeed Gamepad",
|
||||
"file": "modules/Gamepad.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
363
docs/hardware/zh/sidebar.yaml
Normal file
@@ -0,0 +1,363 @@
|
||||
items:
|
||||
- label: 产品总览
|
||||
file: README.md
|
||||
- label: Maix Zero
|
||||
items:
|
||||
- label: Maix M0
|
||||
items:
|
||||
- label: M0sense 开发板
|
||||
file: ./maixzero/sense/maix_zero_sense.md
|
||||
- label: M0sense 基础使用
|
||||
file: ./maixzero/sense/start.md
|
||||
- label: Maix M0P
|
||||
items:
|
||||
- label: M0P
|
||||
file: ./maixzero/m0p/m0p.md
|
||||
- label: M0P Dock
|
||||
file: ./maixzero/m0p/m0p_dock.md
|
||||
- label: Maix M0S
|
||||
file: ./maixzero/m0s/m0s.md
|
||||
- label: Maix-I
|
||||
items:
|
||||
- label: Maix M1
|
||||
items:
|
||||
- label: M1 模块
|
||||
items:
|
||||
- label: M1/M1w
|
||||
file: maix/core_module.md
|
||||
- label: M1n
|
||||
file: maix/M1n.md
|
||||
- label: M1 开发板
|
||||
items:
|
||||
- label: Maix Bit
|
||||
file: maix/maixpy_develop_kit_board/maix_bit.md
|
||||
- label: Maix Dock(M1/M1W)
|
||||
file: maix/maixpy_develop_kit_board/Maix_dock.md
|
||||
- label: Maix Duino
|
||||
file: maix/maixpy_develop_kit_board/maix_duino.md
|
||||
- label: Maix Nano
|
||||
file: maix/maixpy_develop_kit_board/maix_nano.md
|
||||
- label: Maix Cube
|
||||
file: maix/maixpy_develop_kit_board/maix_cube.md
|
||||
- label: Maix Amigo
|
||||
file: maix/maixpy_develop_kit_board/maix_Amigo.md
|
||||
- label: Maix HAT
|
||||
file: maix/maixpy_develop_kit_board/maix_hat.md
|
||||
- label: Maix Go(售罄)
|
||||
file: maix/maixpy_develop_kit_board/maix_go.md
|
||||
- label: Maix M1s
|
||||
items:
|
||||
- label: M1s 模块
|
||||
file: maix/m1s/m1s_module.md
|
||||
- label: M1s 开发板
|
||||
items:
|
||||
- label: 简介
|
||||
file: maix/m1s/m1s_dock.md
|
||||
- label: 上手使用
|
||||
file: maix/m1s/other/start.md
|
||||
- label: 其他事项(摄像头和外壳)
|
||||
file: maix/m1s/other/others.md
|
||||
- label: Maix M1a
|
||||
# items: []
|
||||
- label: Maix-II
|
||||
items:
|
||||
- label: MaixII-Dock
|
||||
file: maixII/M2/resources.md
|
||||
items:
|
||||
- label: 烧录系统
|
||||
file: maixII/M2/flash.md
|
||||
- label: 基础使用
|
||||
file: maixII/M2/usage.md
|
||||
- label: 其他事项
|
||||
file: maixII/M2/other.md
|
||||
- label: 连接MaixPy3
|
||||
file: ../../soft/maixpy3/zh/tools/0.MaixII-Dock.ipynb
|
||||
target: _blank
|
||||
- label: FAQ
|
||||
file: maixII/M2/faq.md
|
||||
- label: MaixII-S
|
||||
file: maixII/M2S/V833.md
|
||||
items:
|
||||
- label: 板级资源介绍
|
||||
file: maixII/M2S/reources.md
|
||||
- label: MaixII-Sense
|
||||
file: maixII/M2A/maixsense.md
|
||||
items:
|
||||
- label: 烧录系统
|
||||
file: maixII/M2A/flash_system.md
|
||||
- label: 配置系统
|
||||
file: maixII/M2A/config_system.md
|
||||
- label: 基本使用
|
||||
file: maixII/M2A/Usages.md
|
||||
- label: 连接MaixPy3
|
||||
file: ../../soft/maixpy3/zh/tools/maixsense.md
|
||||
target: _blank
|
||||
- label: Maix-III
|
||||
items:
|
||||
- label: Maix-III AXera-Pi
|
||||
file: maixIII/ax-pi/axpi.md
|
||||
items:
|
||||
- label: 产品上手指南
|
||||
file: maixIII/ax-pi/flash_system.md
|
||||
- label: 系统使用手册
|
||||
file: maixIII/ax-pi/basic_usage.md
|
||||
- label: 试试 Python 编程
|
||||
file: maixIII/ax-pi/python_api.ipynb
|
||||
- label: 开始 C/C++ 编程
|
||||
file: maixIII/ax-pi/dev_prepare.md
|
||||
- label: AI 开发指南
|
||||
url: /ai/zh/deploy/ax-pi.html
|
||||
- label: 常见问题(FAQ)
|
||||
file: maixIII/ax-pi/faq_axpi.md
|
||||
- label: LicheePi
|
||||
items:
|
||||
- label: LicheePI 4A
|
||||
items:
|
||||
- label: Lichee Module 4A
|
||||
file: lichee/th1520/lm4a.md
|
||||
- label: Lichee PI 4A
|
||||
collapsed: false
|
||||
items:
|
||||
- label: 板卡介绍
|
||||
file: lichee/th1520/lpi4a/1_intro.md
|
||||
- label: 开箱体验
|
||||
file: lichee/th1520/lpi4a/2_unbox.md
|
||||
- label: 镜像集合
|
||||
file: lichee/th1520/lpi4a/3_images.md
|
||||
- label: 烧录镜像
|
||||
file: lichee/th1520/lpi4a/4_burn_image.md
|
||||
- label: 桌面系统基础使用
|
||||
file: lichee/th1520/lpi4a/5_desktop.md
|
||||
- label: 外设使用
|
||||
file: lichee/th1520/lpi4a/6_peripheral.md
|
||||
- label: 系统开发
|
||||
items:
|
||||
- label: revyos
|
||||
file: lichee/th1520/lpi4a/7_develop_revyos.md
|
||||
- label: Linux 主线 (编写中)
|
||||
# file:
|
||||
- label: THead Yocto
|
||||
file: lichee/th1520/lpi4a/7_develop_thead.md
|
||||
- label: Android (编写中)
|
||||
# file:
|
||||
- label: OpenHarmony (编写中)
|
||||
# file:
|
||||
- label: OpenWRT (编写中)
|
||||
# file:
|
||||
- label: 典型应用
|
||||
file: lichee/th1520/lpi4a/8_application.md
|
||||
- label: CPU 跑分测试
|
||||
file: lichee/th1520/lpi4a/9_benchmark.md
|
||||
- label: 硬件测试报告
|
||||
file: lichee/th1520/lpi4a/10_test_report.md
|
||||
- label: 致谢
|
||||
file: lichee/th1520/lpi4a/11_credits.md
|
||||
- label: LicheePI RV
|
||||
items:
|
||||
- label: 板卡介绍
|
||||
collapsed: false
|
||||
items:
|
||||
- label: LicheePI RV
|
||||
file: lichee/RV/RV.md
|
||||
- label: LicheePI RV 86 Panel
|
||||
file: lichee/RV/86_panel.md
|
||||
- label: LicheePI RV Dock
|
||||
file: lichee/RV/Dock.md
|
||||
- label: 烧录系统
|
||||
file: lichee/RV/flash.md
|
||||
- label: 基础上手
|
||||
file: lichee/RV/user.md
|
||||
- label: 常见问题
|
||||
file: lichee/RV/problems.md
|
||||
- label: 使用 Ubuntu 镜像
|
||||
file: lichee/RV/ubuntu.md
|
||||
- label: LicheePI Zero
|
||||
file: lichee/Zero/Zero.md
|
||||
- label: LicheePI Nano
|
||||
file: lichee/Nano/Nano.md
|
||||
- label: LicheePI ZeroPlus
|
||||
file: lichee/ZeroPlus/ZeroPlus.md
|
||||
- label: Tang FPGA
|
||||
items:
|
||||
- label: Tang Nano
|
||||
items:
|
||||
- label: Tang Nano 1K
|
||||
file: tang/Tang-Nano-1K/Nano-1k.md
|
||||
- label: Tang Nano 4k
|
||||
file: tang/Tang-Nano-4K/Nano-4K.md
|
||||
- label: Tang Nano 9K
|
||||
file: tang/Tang-Nano-9K/Nano-9K.md
|
||||
- label: Tang Nano 20K
|
||||
items:
|
||||
- label: 介绍
|
||||
file: tang/tang-nano-20k/nano-20k.md
|
||||
- label: 开箱
|
||||
file: tang/tang-nano-20k/example/unbox.md
|
||||
target: _blank
|
||||
- label: Tang Nano (售罄)
|
||||
file: tang/Tang-Nano/Nano.md
|
||||
- label: 安装 IDE
|
||||
file: tang/Tang-Nano-Doc/get_started/install-the-ide.md
|
||||
- label: 例程汇总
|
||||
file: tang/Tang-Nano-Doc/examples.md
|
||||
target: _blank
|
||||
- label: 常见问题
|
||||
file: tang/Tang-Nano-Doc/questions.md
|
||||
target: _blank
|
||||
- label: Tang Primer
|
||||
items:
|
||||
- label: Tang Primer 20K
|
||||
items:
|
||||
- label: 板卡介绍
|
||||
file: tang/tang-primer-20k/primer-20k.md
|
||||
- label: 开箱使用
|
||||
file: tang/tang-primer-20k/start.md
|
||||
- label: 安装 IDE
|
||||
file: tang/Tang-Nano-Doc/get_started/install-the-ide.md
|
||||
- label: 例程汇总
|
||||
file: tang/tang-primer-20k/example.md
|
||||
- label: 常见问题
|
||||
file: tang/Tang-Nano-Doc/questions.md
|
||||
target: _blank
|
||||
- label: Tang Primer 25K
|
||||
# file:
|
||||
- label: Tang Primer (售罄)
|
||||
file: tang/Tang-primer/Tang-primer.md
|
||||
items:
|
||||
- label: 板卡介绍
|
||||
file: tang/Tang-primer/readme.md
|
||||
- label: 安装 TD
|
||||
items:
|
||||
- label: Windows安装TD
|
||||
file: tang/Tang-primer/get_started/install_TD_win.md
|
||||
- label: Linux安装TD
|
||||
file: tang/Tang-primer/get_started/install_linux.md
|
||||
- label: 使用FPGA点灯
|
||||
file: tang/Tang-primer/fpga/led.md
|
||||
- label: 搭建蜂鸟开发环境
|
||||
file: tang/Tang-primer/get_started/E203.md
|
||||
- label: FPGA码流烧录
|
||||
file: tang/Tang-primer/get_started/fpga_download.md
|
||||
- label: Tang Mega
|
||||
- label: MaixSense
|
||||
file: maixsense/readme.md
|
||||
items:
|
||||
- label: MaixSense-a010
|
||||
file: maixsense/maixsense-a010/maixsense-a010.md
|
||||
- label: MaixSense-a075v
|
||||
file: maixsense/maixsense-a075v/maixsense-a075v.md
|
||||
- label: SLogic
|
||||
items:
|
||||
- label: SLogic Combo8
|
||||
items:
|
||||
- label: 简介
|
||||
file: logic_analyzer/combo8/readme.md
|
||||
- label: 基础操作
|
||||
file: logic_analyzer/combo8/basic_operation.md
|
||||
- label: 作为逻辑分析仪使用
|
||||
file: logic_analyzer/combo8/use_logic_function.md
|
||||
- label: 作为CKLink使用
|
||||
file: logic_analyzer/combo8/use_cklink_function.md
|
||||
- label: 作为DAPLink使用
|
||||
file: logic_analyzer/combo8/use_daplink_function.md
|
||||
- label: 作为串口模块使用
|
||||
file: logic_analyzer/combo8/use_fouruart_function.md
|
||||
# - label: Maix Audio
|
||||
# items:
|
||||
# - label: MA USB 16
|
||||
- label: Longon
|
||||
items:
|
||||
- label: Longon Nano
|
||||
file: longan/Nano/Longan_nano.md
|
||||
collapsed: false
|
||||
items:
|
||||
- label: PIO配置
|
||||
file: longan/Nano/get_started/pio.md
|
||||
- label: 点灯测试
|
||||
file: longan/Nano/get_started/blink.md
|
||||
- label: DEBUG 调试
|
||||
file: longan/Nano/get_started/debug.md
|
||||
items:
|
||||
- label: 使用 Sipeed 调试器
|
||||
file: longan/Nano/get_started/sipeed-debugger.md
|
||||
- label: 使用 RV-LINK
|
||||
file: longan/Nano/get_started/rv-link.md
|
||||
- label: 示例
|
||||
items:
|
||||
- label: 串口输出
|
||||
file: longan/Nano/examples/printf.md
|
||||
- label: 播放 Badapple
|
||||
file: longan/Nano/examples/badapple.md
|
||||
- label: MaixFace
|
||||
items:
|
||||
- label: MF-ST40 人脸识别模块
|
||||
file: maixface/mfst40/mfst40.md
|
||||
- label: MF 资料
|
||||
items:
|
||||
- label: MF 人脸识别模块 PCB 设计注意事项
|
||||
file: maixface/mf_ml_module/mf_precautions.md
|
||||
- label: 点我前往 github 查看全部资料
|
||||
url: https://github.com/sipeed/MF1-User-Manual
|
||||
- label: 外设模组
|
||||
items:
|
||||
- label: SP-MOD外设模组
|
||||
items:
|
||||
- label: 转接板类
|
||||
collapsed: false
|
||||
items:
|
||||
- label: SP-Extender
|
||||
file: modules_spmod/spmod_extender.md
|
||||
- label: SP-Grove
|
||||
file: modules_spmod/spmod_grove.md
|
||||
- label: SP-FPC
|
||||
file: modules_spmod/spmod_fpc.md
|
||||
- label: SP-MicArray
|
||||
file: modules_spmod/spmod_micarray.md
|
||||
- label: SP-JotStick
|
||||
file: modules_spmod/spmod_joystick.md
|
||||
- label: SP-Servo
|
||||
file: modules_spmod/spmod_servo.md
|
||||
- label: SP-TypeC
|
||||
file: ''
|
||||
- label: 传感器类
|
||||
collapsed: false
|
||||
items:
|
||||
- label: SP-Weather
|
||||
file: modules_spmod/spmod_weather.md
|
||||
- label: SP-TOF-1P
|
||||
file: modules_spmod/spmod_tof.md
|
||||
- label: 通信类
|
||||
collapsed: false
|
||||
items:
|
||||
- label: SP-BT
|
||||
file: modules_spmod/spmod_bt.md
|
||||
- label: SP-LoRa
|
||||
file: modules_spmod/spmod_lora.md
|
||||
- label: SP-PSRAM
|
||||
file: modules_spmod/spmod_psram.md
|
||||
- label: SP-RFID
|
||||
file: modules_spmod/spmod_rfid.md
|
||||
- label: SP-Ethernet
|
||||
file: modules_spmod/spmod_ethernet.md
|
||||
- label: 显示类
|
||||
collapsed: false
|
||||
items:
|
||||
- label: SP-LCD 1.14
|
||||
file: modules_spmod/spmod_lcd1.14.md
|
||||
- label: SP-Eink
|
||||
file: modules_spmod/spmod_eink.md
|
||||
- label: 模块 & 调试器
|
||||
items:
|
||||
- label: 调试器 & 串口模块
|
||||
file: modules/debugger_and_uart.md
|
||||
- label: 模块
|
||||
collapsed: false
|
||||
items:
|
||||
- label: 摄像头
|
||||
file: modules/camera_summary.md
|
||||
- label: 麦克风模块
|
||||
items:
|
||||
- label: 麦克风阵列
|
||||
file: modules/micarray.md
|
||||
- label: Sipeed Gamepad
|
||||
file: modules/Gamepad.md
|
||||
|
Before Width: | Height: | Size: 912 KiB After Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 959 KiB After Width: | Height: | Size: 235 KiB |
|
Before Width: | Height: | Size: 613 KiB After Width: | Height: | Size: 652 KiB |
|
Before Width: | Height: | Size: 986 KiB After Width: | Height: | Size: 246 KiB |
@@ -809,7 +809,7 @@ for (size_t i = 0; i < reticle_results.size(); i++)
|
||||
|
||||
当然为了更好的兼容 Openmv 玩家,我们也提供了 Openmv 的函数在 `components/third_party/imlib` 下,函数全部增加了一个 `imlib` 的前缀,其他的功能与Openmv 是一致的。
|
||||
|
||||
举个栗子:比如 Openmv 的寻找色块函数 [寻找色块 · OpenMV中文入门教程](https://book.openmv.cc/image/blob.html)
|
||||
举个例子:比如 Openmv 的寻找色块函数 [寻找色块 · OpenMV中文入门教程](https://book.openmv.cc/image/blob.html)
|
||||
|
||||
```C++
|
||||
image.find_blobs(thresholds, roi=Auto, x_stride=2, y_stride=1, invert=False,
|
||||
|
||||
17
pages/index/zh/slogic_combo_8.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<script>
|
||||
var hash = window.location.hash
|
||||
var url_language = "zh"
|
||||
|
||||
if( navigator.language != "zh-CN" )
|
||||
{
|
||||
url_language = "en"
|
||||
}
|
||||
|
||||
switch (window.location.hash) {
|
||||
case "#issue" :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/maixIII/ax-pi/faq_axpi.html"
|
||||
break;
|
||||
default :
|
||||
location.href = window.location.origin + "/hardware/" + url_language + "/logic_analyzer/combo8/index.html"
|
||||
}
|
||||
</script>
|
||||