blob: 04d1fe2bde809681f36ccc34f4599633026f8c96 [file] [log] [blame]
Patrick Williams0ca19cc2021-08-16 14:03:13 -05001#
2# Tune Settings for Cortex-M33
3#
4DEFAULTTUNE ?= "cortexm33"
5
6TUNEVALID[cortexm33] = "Enable Cortex-M33 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm33', ' -mcpu=cortex-m33', '', d)}"
8
9require 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
14AVAILTUNES += "cortexm33"
15ARMPKGARCH:tune-cortexm33 = "cortexm33"
16TUNE_FEATURES:tune-cortexm33 = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm33"
17PACKAGE_EXTRA_ARCHS:tune-cortexm33 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm33e-fpv5-spd16"