2026-05-10 17:28:14 +08:00
|
|
|
# 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
|
2026-05-30 00:24:31 +08:00
|
|
|
debugger:
|
|
|
|
|
name: ST-Link@pyOCD
|
|
|
|
|
clock: 4000000
|
|
|
|
|
protocol: swd
|
2026-05-10 17:28:14 +08:00
|
|
|
|
|
|
|
|
# List of different build configurations.
|
|
|
|
|
build-types:
|
|
|
|
|
- type: Debug
|
|
|
|
|
debug: on
|
|
|
|
|
optimize: none
|
|
|
|
|
|
|
|
|
|
- type: Release
|
|
|
|
|
debug: off
|
2026-07-27 01:49:18 +08:00
|
|
|
optimize: size
|
2026-05-10 17:28:14 +08:00
|
|
|
|
|
|
|
|
# List related projects.
|
|
|
|
|
projects:
|
|
|
|
|
- project: GD32E508_DCU_APP/GD32E508_DCU_APP.cproject.yml
|
|
|
|
|
compiler: AC6
|