]> begriffs open source - cmsis/blob - CMSIS/CoreValidation/Tests/bootloader/gcc.rtebuild
CoreValidation: Added -Wpedantic to GCC compiler options.
[cmsis] / CMSIS / CoreValidation / Tests / bootloader / gcc.rtebuild
1 options:
2   optimize : [ O1, O2, O3, Ofast, Os ]
3 import:
4  - bootloader.rtebuild
5 targets:
6   arm:
7     toolchain: GCC
8     csettings   : [ -mlittle-endian, -gdwarf-3, "-%{optimize}", -fmessage-length=0, -fsigned-char, -ffunction-sections, -fdata-sections ]
9     cwarnings   : [ -Wall, -Wextra, -Wshadow, -Wundef, -Wstrict-prototypes ]
10   armcm:
11     cflags      : [ -xc, -std=gnu99, -c, "-march=${arch}", "-mtune=${cpu}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}" ]
12     asmflags    : [ -c, "-march=${arch}", "-mtune=${cpu}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}" ]
13     linkflags   : [ "-march=${arch}", "-mtune=${cpu}", "-mfloat-abi=${float}", "${csettings}", "${cwarnings}", "-Xlinker -Map=${builddir}/${targetName}.map", --specs=nano.specs, --specs=rdimon.specs ]
14     linkscript  : "config/core_m/rtebuild.ld"
15   armcm23ns:
16     arch     : armv8-m.base
17     cpu      : cortex-m23
18     fpu      : none
19     float    : soft
20     cflags   : [ -mcmse ]
21   armcm33ns:
22     arch     : armv8-m.main
23     cpu      : cortex-m33
24     fpu      : fpv5-sp-d16
25     float    : hard
26     cflags   : [ "-mfpu=${fpu}", -mcmse ]
27     asmflags : [ "-mfpu=${fpu}" ]
28     linkflags: [ "-mfpu=${fpu}" ]
29   armcm35pns:
30     arch     : armv8-m.main
31     cpu      : cortex-m33
32     fpu      : fpv5-sp-d16
33     float    : hard
34     cflags   : [ "-mfpu=${fpu}", -mcmse ]
35     asmflags : [ "-mfpu=${fpu}" ]
36     linkflags: [ "-mfpu=${fpu}" ]