]> begriffs open source - cmsis/blob - CMSIS/CoreValidation/Tests/gcc.rtebuild
CoreValidation: Updat build config and script.
[cmsis] / CMSIS / CoreValidation / Tests / gcc.rtebuild
1 options:
2   optimize : [ O1, O2, O3, Ofast, Os ]
3 import:
4  - tests.rtebuild
5 targets:
6   arm:
7     toolchain: GCC
8     csettings   : [ -mlittle-endian, -gdwarf-3, "-%{optimize}", -fmessage-length=0, -ffunction-sections, -fdata-sections ]
9     cwarnings   : [ -Wall, -Wextra, -Wshadow, -Wundef, -Wstrict-prototypes, -Wpedantic ]
10   armcm:
11     features    : ""
12     cflags      : [ -xc, -std=gnu99, -c, "-mcpu=${cpu}${features}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}" ]
13     asmflags    : [ -c, "-mcpu=${cpu}${features}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}" ]
14     linkflags   : [ "-mcpu=${cpu}${features}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}", "-Xlinker -Map=${builddir}/${targetName}.map", --specs=nano.specs, --specs=rdimon.specs ]
15     linkscript  : "config/core_m/rtebuild.ld"
16   armcm0:
17     cpu       : cortex-m0
18     float     : soft
19   armcm0plus:
20     cpu       : cortex-m0plus
21     float     : soft
22   armcm3:
23     cpu       : cortex-m3
24     float     : soft
25   armcm4:
26     cpu       : cortex-m4
27     features  : "+nofp"
28     float     : soft
29   armcm4fp:
30     cpu       : cortex-m4
31     float     : hard
32   armcm7:
33     cpu       : cortex-m7
34     features  : "+nofp"
35     float     : soft
36   armcm7sp:
37     cpu       : cortex-m7
38     features  : "+nofp.dp"
39     float     : hard
40   armcm7dp:
41     cpu       : cortex-m7
42     float     : hard
43   armcm23:
44     cpu       : cortex-m23
45     float     : soft
46   armcm23s:
47     cpu       : cortex-m23
48     float     : soft
49     cflags    : [ -mcmse ]
50     linkscript: "config/core_m/rtebuild_s.ld"
51   armcm23ns:
52     cpu       : cortex-m23
53     float     : soft
54     linkscript: "config/core_m/rtebuild_ns.ld"
55   armcm33:
56     cpu       : cortex-m33
57     features  : "+nofp+nodsp"
58     float     : soft
59   armcm33s:
60     cpu       : cortex-m33
61     float     : hard
62     linkscript: "config/core_m/rtebuild_s.ld"
63   armcm33ns:
64     cpu       : cortex-m33
65     float     : hard
66     linkscript: "config/core_m/rtebuild_ns.ld"
67   armcm35p:
68     cpu       : cortex-m35p
69     features  : "+nofp+nodsp"
70     float     : soft
71   armcm35ps:
72     cpu       : cortex-m35p
73     float     : hard
74     linkscript: "config/core_m/rtebuild_s.ld"
75   armcm35pns:
76     cpu       : cortex-m35p
77     float     : hard
78     linkscript: "config/core_m/rtebuild_ns.ld"
79   armcm55:
80     cpu       : cortex-m55
81     features  : "+nomve+nofp"
82     float     : soft
83   armcm55s:
84     cpu       : cortex-m55
85     features  : "+nomve.fp+nofp"
86     float     : softfp
87     cflags    : [ -mcmse ]
88     linkscript: "config/core_m/rtebuild_s.ld"
89   armcm55ns:
90     cpu       : cortex-m55
91     float     : hard
92     linkscript: "config/core_m/rtebuild_ns.ld"
93   armca:
94     features  : ""
95     csettings : [ -marm ]
96     cflags    : [ -xc, -std=gnu99, -c, "-mcpu=${cpu}${features}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}" ]
97     asmflags  : [ -c, "-mcpu=${cpu}${features}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}" ]
98     linkflags : [ "-mcpu=${cpu}${features}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}", "-Xlinker -Map=${builddir}/${targetName}.map", --specs=nano.specs, --specs=rdimon.specs ]
99     linkscript: "${builddir}/rtebuild.ld"
100     source:
101       - ../../../Device/ARM/${device}/Source/GCC/startup_${device}.c
102     prebuild:
103      - [ arm-none-eabi-gcc, "-xc", "-I\"${basedir}/config/core_a\"", "-E \"${basedir}/config/core_a/rtebuild.ld\"", -P, "-o \"${builddir}/rtebuild.ld\"" ]
104   armca5:
105     cpu     : cortex-a5
106     features: "+nosimd"
107     float   : hard
108   armca5neon:
109     cpu     : cortex-a5
110     float   : hard
111   armca7:
112     cpu     : cortex-a7
113     features: "+nosimd"
114     float   : hard
115   armca7neon:
116     cpu     : cortex-a7
117     float   : hard
118   armca9:
119     cpu     : cortex-a9
120     features: "+nosimd"
121     float   : hard
122   armca9neon:
123     cpu     : cortex-a9
124     float   : hard