2025-09-23 00:27:51 +08:00
|
|
|
# A solution is a collection of related projects that share same base configuration.
|
|
|
|
|
solution:
|
2025-11-23 18:31:47 +08:00
|
|
|
created-for: CMSIS-Toolbox@2.12.0
|
2025-09-23 00:27:51 +08:00
|
|
|
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
|
2025-10-02 02:52:07 +08:00
|
|
|
target-set:
|
|
|
|
|
- set:
|
|
|
|
|
images:
|
2025-12-16 22:39:39 +08:00
|
|
|
- project-context: Robot_V2.Release
|
2025-10-02 02:52:07 +08:00
|
|
|
debugger:
|
|
|
|
|
name: ST-Link@pyOCD
|
|
|
|
|
clock: 10000000
|
2025-12-20 19:53:52 +08:00
|
|
|
protocol: swd
|
2025-09-23 00:27:51 +08:00
|
|
|
|
|
|
|
|
# List of different build configurations.
|
|
|
|
|
build-types:
|
|
|
|
|
- type: Debug
|
|
|
|
|
debug: on
|
|
|
|
|
optimize: none
|
|
|
|
|
|
|
|
|
|
- type: Release
|
|
|
|
|
debug: off
|
|
|
|
|
optimize: balanced
|
|
|
|
|
|
|
|
|
|
# List related projects.
|
|
|
|
|
projects:
|
|
|
|
|
- project: Robot_V2/Robot_V2.cproject.yml
|
|
|
|
|
compiler: AC6
|