feat(cproject): 移除CAN DMA相关代码并优化编译配置

- 移除了CAN模块中的DMA相关代码,包括can_dma_init函数、
  DMA中断处理函数以及相关的全局变量和头文件包含

- 更新了项目构建配置,将优化级别从balanced改为size以减小
  固件体积

- 添加了-fno-exceptions和-fno-rtti编译选项以进一步优化代码

- 升级了GD32C10x_DFP包版本至1.5.0

- 调整了OTA跳转逻辑,增加了更安全的中断和外设关闭处理

- 修复了Flash写入时的重复包处理逻辑,增加错误标志清理机制

- 将AES加密算法中的gf_mul函数标记为noinline属性
This commit is contained in:
cbb
2026-07-26 23:08:02 +08:00
parent c357a8af6f
commit 05069e3057
58 changed files with 1332 additions and 4191 deletions
+2 -6
View File
@@ -1,8 +1,7 @@
build-idx:
generated-by: csolution version 2.13.0+p3-g40b6564e
generated-by: csolution version 2.13.0
cdefault: ${CMSIS_COMPILER_ROOT}/cdefault.yml
csolution: Robot_V2.csolution.yml
cbuild-run: out/Robot_V2+GD32C103CB.cbuild-run.yml
tmpdir: tmp
cprojects:
- cproject: Robot_V2/Robot_V2.cproject.yml
@@ -15,11 +14,9 @@ build-idx:
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_can.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_crc.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_dbg.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_dma.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_eval.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_exti.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_fmc.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_fwdgt.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_gpio.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_misc.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_pmu.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
@@ -28,6 +25,5 @@ build-idx:
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/startup_gd32c10x.s' update recommended; merge content from update file, rename update file to base file and remove previous base file
- file 'G:/Robot_v2/BOOT/Robot_V2/RTE/Device/GD32C103CB/system_gd32c10x.c' update recommended; merge content from update file, rename update file to base file and remove previous base file
info:
- Robot_V2.cbuild-pack.yml - file generated successfully
- Robot_V2+GD32C103CB.cbuild-run.yml - file generated successfully
- Robot_V2.cbuild-pack.yml - file is already up-to-date
- Robot_V2.Release+GD32C103CB.cbuild.yml - file generated successfully