- 将 CANFD 接收机制由轮询改为 FIFO0 的中断事件驱动处理 - 实现循环取空硬件 FIFO0,提高接收效率和响应速度 - 引入环形缓冲区缓存接收帧,支持多路通道多帧队列管理 - 置位解析任务标志位,实现接收数据的异步解析 - 增加接收中断统计,包括 FIFO 满和溢出计数 - 重构临界区代码,使用自定义函数保护中断状态 - 修改接收过滤器配置,支持按掩码匹配标准帧进入 FIFO0 - 使能 CAN FIFO0 多种中断标志,包括非空、满和溢出中断
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
# A solution is a collection of related projects that share same base configuration.
|
|
solution:
|
|
created-for: CMSIS-Toolbox@2.12.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::GD32E50x_DFP
|
|
- pack: ARM::CMSIS
|
|
|
|
# List different hardware targets that are used to deploy the solution.
|
|
target-types:
|
|
- type: GD32E508VE
|
|
device: GD32E508VE
|
|
target-set:
|
|
- set:
|
|
images:
|
|
- project-context: GD32E508_DCU_APP.Debug
|
|
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: balanced
|
|
|
|
# List related projects.
|
|
projects:
|
|
- project: GD32E508_DCU_APP/GD32E508_DCU_APP.cproject.yml
|
|
compiler: AC6
|