refactor(iec60870): 把 DTU 点表 profile 从 examples 并入 104
App/iec60870/examples/ 只有一份 iec104_dtu_profile.h,且被 iec104_dtu_table.c 包含进产品(const 数据进 Flash),是实打实的 产品代码,不是示例。按用户裁定把它并入 104/ 后删掉整个 examples/: - iec104_dtu_profile.h 移到 104/,examples/ 目录整个消失; - Keil uvprojx 与模拟器 CMakeLists 各删一条 include 路径; - 补文件头注释让该头过 coding-standard(RC=0),同时删掉 .pre-commit-config.yaml 里 App/iec60870/examples/ 的豁免,不扩大排除面; - 三个 README 同步(App/、iec60870/、104/),examples/README.md 的 三条点表约束并入 104/README.md; - 引用图重生成,覆盖率基线路径更新,代码面 examples 引用归零。 验证:Keil 0 errors 0 warnings(Code=365792,与基线一致)、模拟器 build_sim OK、TCP 回环 13/13、6 个单测全过、覆盖率 8204/9185 (89.3%) 数字未变、pre-commit 18 Passed 0 Failed。
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
## 前置条件
|
||||
|
||||
- Real board: powered, reachable at `192.168.31.100`, firmware IEC104 listener on `2404`,
|
||||
profile table matching `App/iec60870/examples/iec104_dtu_profile.h`.
|
||||
profile table matching `App/iec60870/104/iec104_dtu_profile.h`.
|
||||
- Simulator: `simulator/build/Debug/lvgl_sim.exe` built with IEC104 headless CLI,
|
||||
chosen port free, Windows `Get-NetTCPConnection` available for the LAN bind probe.
|
||||
- All three scripts are Python 3 standard library only. They print ASCII only and
|
||||
|
||||
Reference in New Issue
Block a user