summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc
blob: 606900d7a215db746d72f1d227899e54ee9c03ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Tune Settings for Cortex-M33
#
DEFAULTTUNE ?= "cortexm33"

TUNEVALID[cortexm33] = "Enable Cortex-M33 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm33', ' -mcpu=cortex-m33', '', d)}"

require conf/machine/include/arm/arch-armv8m-main.inc

# GCC thnks that DSP and VFP are required, but Arm docs say it is
# optional.  So forcing below so that compiling works, but this should
# be fixed in GCC
AVAILTUNES                          += "cortexm33"
ARMPKGARCH:tune-cortexm33            = "cortexm33"
# We do not want -march since -mcpu is added above to cover for it
TUNE_FEATURES:tune-cortexm33         = "vfpv5spd16 dsp cortexm33"
PACKAGE_EXTRA_ARCHS:tune-cortexm33   = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm33e-fpv5-spd16"