Files
Motor_v2/Robot_V2/Robot_V2.cproject.yml
T
cbb 7c2860f302 feat(can): 增加EEPROM状态码和系统配置保存功能
- 在CAN通信中增加EEPROM状态码字段,并通过CAN FD发送
- 实现Flash EEPROM对系统配置参数的CRC校验与保存
- 改进目标角度、速度等关键参数的读写逻辑,支持掉电保存
- 调整EEPROM地址映射,优化错误处理和状态反馈机制
- 修复CRC计算相关问题,增强数据可靠性
2025-12-18 18:23:34 +08:00

83 lines
2.4 KiB
YAML

project:
groups:
- group: Source Files
files:
- file: main.h
- file: main.cpp
- group: sys
files:
- file: sys/systick.cpp
- file: sys/systick.h
- file: sys/initial.cpp
- file: sys/initial.h
- file: sys/health.h
- file: sys/health.cpp
- file: sys/flash.h
- file: sys/flash.cpp
- group: device
files:
- file: device/Can.cpp
- file: device/Can.h
- file: device/ang_sensor.cpp
- file: device/ang_sensor.h
- file: device/ADC.cpp
- file: device/adc.h
- file: device/Timer.cpp
- file: device/Timer.h
- file: device/test.cpp
- file: device/motor.cpp
- file: device/motor.h
- group: Algorithm
files:
- file: Algorithm/Filter.cpp
- file: Algorithm/Filter.h
- file: Algorithm/DengFOC.cpp
- file: Algorithm/DengFOC.h
- file: Algorithm/pid.cpp
- file: pid.h
- file: Algorithm/CRC.cpp
- file: Algorithm/CRC.h
components:
- component: ARM::CMSIS:CORE
- component: Device:Startup
- component: Device:GD32C10x_StdPeripherals:ADC
- component: Device:GD32C10x_StdPeripherals:CAN
- component: Device:GD32C10x_StdPeripherals:DMA
- component: Device:GD32C10x_StdPeripherals:EXTI
- component: Device:GD32C10x_StdPeripherals:FMC
- component: Device:GD32C10x_StdPeripherals:GPIO
- component: Device:GD32C10x_StdPeripherals:MISC
- component: Device:GD32C10x_StdPeripherals:PMU
- component: Device:GD32C10x_StdPeripherals:RCU
- component: Device:GD32C10x_StdPeripherals:SPI_I2S
- component: Device:GD32C10x_StdPeripherals:TIMER
- component: Device:GD32C10x_StdPeripherals:USART
- component: Device:GD32C10x_libopt
- component: Device:GD32C10x_StdPeripherals:DBG
- component: Device:EVAL:GD32C10x
- component: Device:GD32C10x_StdPeripherals:FWDGT
- component: Device:GD32C10x_StdPeripherals:WWDGT
output:
type:
- elf
- hex
- map
packs:
- pack: ARM::CMSIS
- pack: GigaDevice::GD32C10x_DFP
misc:
- for-compiler: AC6
C-CPP:
- -fshort-enums
- -fshort-wchar
- -D__MICROLIB
- -Wno-register
C:
- -D__packed=packed
ASM:
- -D__packed=packed
- -D__MICROLIB
Link:
- --library_type=microlib
- --entry=Reset_Handler