-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathacroclock.csolution.yml
More file actions
68 lines (63 loc) · 1.74 KB
/
Copy pathacroclock.csolution.yml
File metadata and controls
68 lines (63 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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@6.20.1
- compiler: GCC@15.2.1
# List of miscellaneous tool-specific controls
misc:
- for-compiler: AC6 # Using DWARF 4 for better GDB compatibility
C-CPP:
- -gdwarf-4
ASM:
- -gdwarf-4
- -Wa,armasm,--diag_suppress=A1950W
- for-compiler: GCC
C-CPP:
- -ffunction-sections
- -fdata-sections
- -Wall
- -Wextra
Link:
- -Wl,--gc-sections
- -Wl,--print-memory-usage
# List the packs that define the device and/or board.
packs:
- pack: Keil::STM32F1xx_DFP
- pack: ARM::CMSIS
# List different hardware targets that are used to deploy the solution.
target-types:
- type: STM32F103C8
device: STM32F103C8
target-set:
- set:
images:
- project-context: acroclock.Debug
debugger:
name: ST-Link@pyOCD
clock: 4000000
protocol: swd
# List of different build configurations.
build-types:
- type: Debug
debug: on
optimize: none
define:
- DEBUG
- type: Release
debug: off
misc:
- for-compiler: AC6
C-CPP:
- -Os
- for-compiler: GCC
C-CPP:
- -Os
# List related projects.
projects:
- project: project/acroclock.cproject.yml
# Default compiler used when --toolchain is not specified.
# NOTE: passing --toolchain GCC will print "redefinition" warnings � this is harmless.
compiler: AC6@6.20.1