固件:R2 迁移 R-0 ~ R-6(底板 + 5 片同构刀片)
2026-09-16 完成、当时未提交,这里补提交(原样,不含 09-27 上板的修改)。 - 器件层 / 拓扑层整体从 R1 换到 R2:TCA9548A 分通道、五路同址 INA226 0x40 + 输入侧 0x43、 刀片 PCA9555(VBUS_EN 挪到 P0.4)、CH224A 只读驱动、风扇闭环 t_thermal - 新增 i2cbus(mux 原子事务)、slot(刀片 I/O 门面)、host/qtest.sh - 74HC595 链退役(代码与测试保留) - 判据阈值与时间常量未动;19 个 ctest 全绿,idf.py build 通过 Co-Authored-By: Claude Opus 5.5 <[email protected]>
这个提交包含在:
@@ -24,10 +24,13 @@ set(PHONERAIL_CORE_SRCS
|
||||
${FW_ROOT}/main/version.c
|
||||
${FW_ROOT}/main/rail.c
|
||||
${FW_ROOT}/main/rail_cfg.c
|
||||
${FW_ROOT}/main/i2cbus.c
|
||||
${FW_ROOT}/main/slot.c
|
||||
${FW_ROOT}/main/sched.c
|
||||
${FW_ROOT}/main/tasks.c
|
||||
${FW_ROOT}/main/t_safety.c
|
||||
${FW_ROOT}/main/t_actuator.c
|
||||
${FW_ROOT}/main/t_thermal.c
|
||||
${FW_ROOT}/main/evlog.c
|
||||
)
|
||||
|
||||
@@ -54,6 +57,8 @@ set(PHONERAIL_DRV_SRCS
|
||||
${PHONERAIL_DRV_DIR}/dac63204.c
|
||||
${PHONERAIL_DRV_DIR}/sr595.c
|
||||
${PHONERAIL_DRV_DIR}/pca9555.c
|
||||
${PHONERAIL_DRV_DIR}/tca9548a.c
|
||||
${PHONERAIL_DRV_DIR}/ch224a.c
|
||||
)
|
||||
|
||||
add_library(phonerail_core STATIC
|
||||
|
||||
在新工单中引用
屏蔽一个用户