feat(can): 添加CAN总线错误计数器和总线状态监控

添加了硬件发送错误计数器(tec)、接收错误计数器(rec)和总线状态位图(bus_state)字段,
用于更全面的CAN总线状态监控。同时新增CAN_RX_MODE_BRIDGE_0_TO_12模式,支持CAN0到
CAN1和CAN2的桥接功能。

BREAKING CHANGE: CAN反馈协议格式扩展,增加了3个字节的状态信息。
This commit is contained in:
小龙虾
2026-07-02 02:02:27 +08:00
parent 6335d05198
commit 2fe5393769
13 changed files with 1054 additions and 244 deletions
+4 -4
View File
@@ -4,11 +4,11 @@
// 固件版本
#define FW_VERSION_MAJOR 0
#define FW_VERSION_MINOR 3
#define FW_VERSION_PATCH 35
#define FW_VERSION_STRING "0.3.35"
#define FW_VERSION_PATCH 36
#define FW_VERSION_STRING "0.3.36"
// 编译时间
#define BUILD_TIME "2026-06-29 01:50:43"
#define BUILD_TIME "2026-07-02 01:59:27"
// Git 信息
#define GIT_HASH "a93dba6"
#define GIT_HASH "6335d05"