Skip to content

Commit 600283c

Browse files
committed
更新readme
1 parent 66507d8 commit 600283c

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

readme.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
## Rock 5B工具箱
22

3+
```
4+
使用方法: 5bcli [参数] <命令> [命令参数]
5+
可用的命令:
6+
cpu_serial 获取cpu序列号
7+
lottery 获取体质抽奖结果
8+
input_voltage 读取输入电压
9+
board_rev 获取板子版本
10+
usbpd 获取当前PD供电状态
11+
12+
可用的参数:
13+
-h, --help 获取帮助
14+
-v, --version 显示工具版本
15+
16+
此软件是开源项目, 如果觉得对你有用, 可以点点star: https://github.com/happyme531/a5btool
17+
```
18+
19+
目前你可以从Release页面下载编译好的二进制文件, 或者自己编译.
20+
21+
### 如何编译
22+
23+
首先安装Dart SDK, 然后执行:
324

4-
如何编译:
525

626
```bash
727
dart pub get

0 commit comments

Comments
 (0)