Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Tune Settings for Cortex-M23
|
||||
#
|
||||
DEFAULTTUNE ?= "cortexm23"
|
||||
|
||||
TUNEVALID[cortexm23] = "Enable Cortex-M23 specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm23', ' -mcpu=cortex-m23', '', d)}"
|
||||
|
||||
require conf/machine/include/arm/arch-armv8m-base.inc
|
||||
|
||||
AVAILTUNES += "cortexm23"
|
||||
ARMPKGARCH:tune-cortexm23 = "cortexm23"
|
||||
TUNE_FEATURES:tune-cortexm23 = "${TUNE_FEATURES:tune-armv8m-base} cortexm23"
|
||||
PACKAGE_EXTRA_ARCHS:tune-cortexm23 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-base} cortexm23"
|
||||
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# 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"
|
||||
TUNE_FEATURES:tune-cortexm33 = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm33"
|
||||
PACKAGE_EXTRA_ARCHS:tune-cortexm33 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm33e-fpv5-spd16"
|
||||
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# Tune Settings for Cortex-M35P
|
||||
#
|
||||
DEFAULTTUNE ?= "cortexm35p"
|
||||
|
||||
TUNEVALID[cortexm35p] = "Enable Cortex-M35p specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm35p', ' -mcpu=cortex-m35p', '', 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 += "cortexm35p"
|
||||
ARMPKGARCH:tune-cortexm35p = "cortexm35p"
|
||||
TUNE_FEATURES:tune-cortexm35p = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm35p"
|
||||
PACKAGE_EXTRA_ARCHS:tune-cortexm35p = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm35pe-fpv5-spd16"
|
||||
Reference in New Issue
Block a user