- 移除了CAN模块中的DMA相关代码,包括can_dma_init函数、 DMA中断处理函数以及相关的全局变量和头文件包含 - 更新了项目构建配置,将优化级别从balanced改为size以减小 固件体积 - 添加了-fno-exceptions和-fno-rtti编译选项以进一步优化代码 - 升级了GD32C10x_DFP包版本至1.5.0 - 调整了OTA跳转逻辑,增加了更安全的中断和外设关闭处理 - 修复了Flash写入时的重复包处理逻辑,增加错误标志清理机制 - 将AES加密算法中的gf_mul函数标记为noinline属性
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# A solution is a collection of related projects that share same base configuration.
|
|
solution:
|
|
created-for: CMSIS-Toolbox@2.13.0
|
|
cdefault: # use CMSIS-Toolbox default Compiler options
|
|
|
|
# Compilers that can be selected
|
|
select-compiler:
|
|
- compiler: AC6
|
|
- compiler: GCC
|
|
- compiler: IAR
|
|
- compiler: CLANG
|
|
|
|
# List of miscellaneous tool-specific controls
|
|
misc:
|
|
- for-compiler: AC6 # GDB requires DWARF 5, remove when using uVision Debugger
|
|
C-CPP:
|
|
- -gdwarf-5
|
|
ASM:
|
|
- -gdwarf-5
|
|
|
|
# List the packs that define the device and/or board.
|
|
packs:
|
|
- pack: GigaDevice::GD32C10x_DFP
|
|
- pack: ARM::CMSIS
|
|
|
|
# List different hardware targets that are used to deploy the solution.
|
|
target-types:
|
|
- type: GD32C103CB
|
|
device: GD32C103CB
|
|
target-set:
|
|
- set:
|
|
images:
|
|
- project-context: Robot_V2.Release
|
|
debugger:
|
|
name: ST-Link@pyOCD
|
|
clock: 4000000
|
|
protocol: swd
|
|
|
|
# List of different build configurations.
|
|
build-types:
|
|
- type: Debug
|
|
debug: on
|
|
optimize: none
|
|
|
|
- type: Release
|
|
debug: off
|
|
optimize: size
|
|
|
|
# List related projects.
|
|
projects:
|
|
- project: Robot_V2/Robot_V2.cproject.yml
|
|
compiler: AC6
|