- 新增完整的CMSIS解决方案配置,包含AC6/GCC/IAR/CLANG编译器支持 - 添加项目配置文件,定义了设备层、系统层、应用层的模块结构 - 配置ARM::CMSIS和GigaDevice::GD32E50x_DFP软件包依赖 - 创建多层代码架构:应用入口(main)、系统层(sys)、设备层(device) - 实现任务管理系统,包含任务调度器和任务执行器分离设计 - 集成ADC、CANFD、定时器、串口、温度采样等核心功能模块 - 添加详细的README文档说明项目结构和代码组织方式 - 配置AC6链接脚本和运行时环境文件 - 设置Git忽略规则以排除编译产物和临时文件
49 lines
1.2 KiB
YAML
49 lines
1.2 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
|
|
|
|
# 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
|