phase 2 serial

This commit is contained in:
flower_linux
2026-06-12 18:34:49 +08:00
parent 0cf0713dc5
commit 628ccf1409
78 changed files with 2571 additions and 345 deletions

13
third_party/README.md vendored
View File

@@ -5,6 +5,7 @@
| 目录 | 版本 | 许可证 | 用途 |
|------|------|--------|------|
| `open62541/` | v1.4.6commit `50ae40d3` | MPL-2.0 | OPC UA 协议栈 |
| `libmodbus/` | v3.1.10 | LGPL-2.1+ | edge Modbus RTU/TCP |
## open62541
@@ -17,3 +18,15 @@
1. 用新 tag 替换 `third_party/open62541/` 目录内容(保留 `LICENSE` 等上游文件)
2. 更新本表版本号与 commit
3. 全量编译并跑 OPC UA 联调(守护进程 + 边缘 + 客户端读写)
## libmodbus
- 上游:<https://github.com/stephane/libmodbus>
-`cmake/libmodbus/CMakeLists.txt` 编译为静态库 `modbus_vendor`,供 `softbus_edge` 链接
- 若系统已安装 `libmodbus-dev`pkg-config 可见),优先使用系统库;可用 `-DSOFTBUS_FORCE_VENDOR_LIBMODBUS=ON` 强制 vendor
### 升级步骤
1. 替换 `third_party/libmodbus/` 为新 tag
2. 更新本表版本号
3. 重新编译 `softbus_edge` 并验证串口读写

1
third_party/libmodbus vendored Submodule

Submodule third_party/libmodbus added at 2cbafa3113