diff options
Diffstat (limited to 'meta/conf/machine/include/arm/armv8-m')
3 files changed, 48 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc new file mode 100644 index 0000000000..25780bc080 --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | # | ||
2 | # Tune Settings for Cortex-M23 | ||
3 | # | ||
4 | DEFAULTTUNE ?= "cortexm23" | ||
5 | |||
6 | TUNEVALID[cortexm23] = "Enable Cortex-M23 specific processor optimizations" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm23', ' -mcpu=cortex-m23', '', d)}" | ||
8 | |||
9 | require conf/machine/include/arm/arch-armv8m-base.inc | ||
10 | |||
11 | AVAILTUNES += "cortexm23" | ||
12 | ARMPKGARCH:tune-cortexm23 = "cortexm23" | ||
13 | TUNE_FEATURES:tune-cortexm23 = "${TUNE_FEATURES:tune-armv8m-base} cortexm23" | ||
14 | PACKAGE_EXTRA_ARCHS:tune-cortexm23 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-base} cortexm23" | ||
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc new file mode 100644 index 0000000000..04d1fe2bde --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # Tune Settings for Cortex-M33 | ||
3 | # | ||
4 | DEFAULTTUNE ?= "cortexm33" | ||
5 | |||
6 | TUNEVALID[cortexm33] = "Enable Cortex-M33 specific processor optimizations" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm33', ' -mcpu=cortex-m33', '', d)}" | ||
8 | |||
9 | require conf/machine/include/arm/arch-armv8m-main.inc | ||
10 | |||
11 | # GCC thnks that DSP and VFP are required, but Arm docs say it is | ||
12 | # optional. So forcing below so that compiling works, but this should | ||
13 | # be fixed in GCC | ||
14 | AVAILTUNES += "cortexm33" | ||
15 | ARMPKGARCH:tune-cortexm33 = "cortexm33" | ||
16 | TUNE_FEATURES:tune-cortexm33 = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm33" | ||
17 | PACKAGE_EXTRA_ARCHS:tune-cortexm33 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm33e-fpv5-spd16" | ||
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc new file mode 100644 index 0000000000..60e978facd --- /dev/null +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # Tune Settings for Cortex-M35P | ||
3 | # | ||
4 | DEFAULTTUNE ?= "cortexm35p" | ||
5 | |||
6 | TUNEVALID[cortexm35p] = "Enable Cortex-M35p specific processor optimizations" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm35p', ' -mcpu=cortex-m35p', '', d)}" | ||
8 | |||
9 | require conf/machine/include/arm/arch-armv8m-main.inc | ||
10 | |||
11 | # GCC thnks that DSP and VFP are required, but Arm docs say it is | ||
12 | # optional. So forcing below so that compiling works, but this should | ||
13 | # be fixed in GCC | ||
14 | AVAILTUNES += "cortexm35p" | ||
15 | ARMPKGARCH:tune-cortexm35p = "cortexm35p" | ||
16 | TUNE_FEATURES:tune-cortexm35p = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm35p" | ||
17 | PACKAGE_EXTRA_ARCHS:tune-cortexm35p = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm35pe-fpv5-spd16" | ||