Skip to content

Commit 7e76b46

Browse files
committed
Update document for openwrt
1 parent 7cd9a81 commit 7e76b46

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

openwrt/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# openwrt-micropython-drcom
22

3+
## 编译
4+
35
链接该文件夹到 [OpenWrt SDK](https://openwrt.org/docs/guide-developer/using_the_sdk)`package/network/micropython-drcom`,在 OpenWrt SDK 目录运行
46

57
```bash
68
make package/micropython-drcom/compile
79
```
810

9-
之后便可在 `bin/packages/*/base/` 下得到 micropython-drcom 的两个包:
11+
之后便可在 `bin/packages/*/base/` 下得到 micropython-drcom 的两个包。
12+
13+
## 使用
1014

1115
- `micropython-drcom`: 依赖于 `micropython-lib` 包,连同依赖安装后会比 `micropython-drcom-with-lib` 大;
1216
- `micropython-drcom-with-lib`: 内有裁剪过的 micropython-lib,所以不依赖于 `micropython-lib` 包,如果没有其余使用 `micropython-lib` 包的需求,推荐使用该包以减少体积。
17+
18+
安装后修改配置文件 `/etc/drcom-wired.conf`,然后运行 `drcom-wired` 即可运行 DrCOM 客户端。

0 commit comments

Comments
 (0)