cmake: allow Cortex-R52 to configure VFP
The Cortex-R52 processor supports single-precision floating-point instructions and can optionally support the double-precision floating-point instructions. Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
1c1e56835d
commit
f10fa0dea8
|
@ -7,7 +7,7 @@ if(CONFIG_FPU)
|
|||
|
||||
if("${ARCH}" STREQUAL "arm")
|
||||
if(CONFIG_CPU_AARCH32_CORTEX_R)
|
||||
if(CONFIG_CPU_CORTEX_R4 OR CONFIG_CPU_CORTEX_R5) # VFPv3
|
||||
if(CONFIG_CPU_CORTEX_R4 OR CONFIG_CPU_CORTEX_R5 OR CONFIG_CPU_CORTEX_R52) # VFPv3
|
||||
if(CONFIG_VFP_FEATURE_DOUBLE_PRECISION)
|
||||
set(GCC_M_FPU vfpv3-d16)
|
||||
elseif(CONFIG_VFP_FEATURE_SINGLE_PRECISION)
|
||||
|
|
Loading…
Reference in a new issue