-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcdefault.yml
43 lines (39 loc) · 1.17 KB
/
cdefault.yml
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/tools/projmgr/2.6.0/tools/projmgr/schemas/cdefault.schema.json
default:
misc:
- for-compiler: GCC
C:
- -std=c99
- -fdata-sections
Link:
- --specs=nosys.specs
- --entry=Reset_Handler
- -Wl,-Map=linker.map,--cref,-print-memory-usage,--gc-sections,--no-warn-rwx-segments
# generate linker map
# output a cross reference table
# print memory usage to console
# exclude unused sections from the iamge
# suppress executable write segment warnings (used for ITCM)
Library:
- -lm -lc -lgcc
- for-compiler: IAR
C:
- -DCLOCKS_PER_SEC=1000
- -e
- --vectorize
- --char-is-unsigned
- --dlib_config normal
Link:
- --entry=Reset_Handler
- --map linker.map
- for-compiler: AC6
C:
- -std=c99
- -fdata-sections
- -Wno-license-management
Link:
- --entry=Reset_Handler
- --map
- --verbose
- --info=sizes,totals,unused,summarysizes
- --diag_suppress=L6312W,L6314W