测试指南
测试环境:
- 硬件
-
测试板
-
PC:用于和测试板交互
-
串口线:连接测试板的调试串口
-
- 软件
-
PC 端串口终端软件
-
MTOP 测试工具
-
编译测试工具
MTOP 测试工具可以按以下配置打开:
Drivers options ---> Drivers examples ---> [*] Enable mtop driver test command
配置后,重新编译。
mtop 测试
可以直接调用 mtop
命令进行测试。(默认配置 1s 更新一次参数)。
该命令的其它参数可以参考 help 命令:
aic /> mtop -h Usage: mtop [-n iter] [-d delay] [-h] -n NUM Number of updates before this program exiting. -d NUM Seconds to wait between update. -h Display this help.