-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcdefault.yml
More file actions
67 lines (59 loc) · 1.47 KB
/
cdefault.yml
File metadata and controls
67 lines (59 loc) · 1.47 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
default:
# compiler: AC6
compiler: GCC
misc:
- for-compiler: AC6
C-CPP:
- -ffunction-sections
- -Wno-macro-redefined
- -Wno-pragma-pack
- -Wno-parentheses-equality
- -Wno-license-management
C:
- -std=gnu11
ASM:
- -masm=auto
Link:
- --entry=Reset_Handler
- --map
- --info summarysizes
- --diag_suppress=L6314W
- for-compiler: GCC
C:
- -std=gnu99
- -Og
- -fno-common
- -g3
# - -c
- -ffunction-sections
- -fdata-sections
- -ffreestanding
- -fno-builtin
# - -fmacro-prefix-map="$(<D)/"=
- -mcpu=cortex-m7
- -mfpu=fpv5-d16
- -mfloat-abi=hard
- -mthumb
- -fstack-usage
- -specs=nano.specs
ASM:
- -c
- -x assembler-with-cpp
- -g3
- -mcpu=cortex-m7
- -mfpu=fpv5-d16
- -mfloat-abi=hard
- -mthumb
- -specs=nano.specs
Link:
- -nostdlib #No startup or default libs
- -Wl,--gc-sections
- -Wl,-print-memory-usage
- -Wl,--sort-section=alignment
- -L ./armgcc/
#- -Map="${BuildArtifactFileBaseName}.map"
#- -Wl,--cref
- -mcpu=cortex-m7
- -mfpu=fpv5-d16
- -mfloat-abi=hard
- -mthumb