feat(ethercat): 添加EtherCAT从站功能支持并优化同步机制
- 添加CAN反馈和ID快照SPI命令文件 - 移除EXMC组件依赖,精简项目配置 - 添加RAM函数段链接脚本,优化Flash等待周期抖动 - 实现EscExmcBus类,提供16位并行总线访问LAN9252 - 实现EscLan9252驱动,支持寄存器和PDI内存访问 - 实现EthercatSlave类,采用三缓冲机制进行PDO数据交换 - 实现EthercatSync同步管理,支持SYNC0/SYNC1中断和定时器模式 - 添加ISR执行时间统计和诊断功能 - 分离周期路径和事件路径通知机制,避免RMW竞态
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# A project translates into one executable or library.
|
||||
# A project translates into one executable or library.
|
||||
project:
|
||||
|
||||
groups:
|
||||
@@ -44,6 +44,8 @@ project:
|
||||
- file: ./device/spi/app_spi_cmd_ota_wait.cpp
|
||||
- file: ./device/spi/app_spi_cmd_ping.cpp
|
||||
- file: ./device/spi/app_spi_cmd_can_bridge.cpp
|
||||
- file: ./device/spi/app_spi_cmd_can_feedback.cpp
|
||||
- file: ./device/spi/app_spi_cmd_id_snapshot.cpp
|
||||
- group: comm
|
||||
files:
|
||||
- file: ./comm/esc_exmc_bus.h
|
||||
@@ -65,7 +67,6 @@ project:
|
||||
- component: Device:GD32E50x_StdPeripherals:CRC
|
||||
- component: Device:GD32E50x_StdPeripherals:DBG
|
||||
- component: Device:GD32E50x_StdPeripherals:DMA
|
||||
- component: Device:GD32E50x_StdPeripherals:EXMC
|
||||
- component: Device:GD32E50x_StdPeripherals:EXTI
|
||||
- component: Device:GD32E50x_StdPeripherals:FMC
|
||||
- component: Device:GD32E50x_StdPeripherals:GPIO
|
||||
|
||||
Reference in New Issue
Block a user