cmsis: patch fpu in asm for armcc5

For FPU, use armasm to select fpu selection. This will be fixed upstream in the next version of CMSIS. Meanwhile, we use our local patch.

Taken from --cpu selection for armasm:

--cpu           | {FPU}
Cortex-M4.fp.sp | VFPv4_SP_D16
Cortex-M7.fp.sp | FPv5-SP
Cortex-M7.fp.dp | FPv5_D16

Tracking issue: https://github.com/ARM-software/CMSIS_5/issues/1266
pull/14900/head
Martin Kojtal 2021-07-26 15:23:45 +01:00
parent 4822ac56a1
commit 180eb75f09
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
RTX_STACK_CHECK EQU 0 RTX_STACK_CHECK EQU 0
#endif #endif
IF ({FPU}="FPv4-SP") IF ({FPU}="FPv4-SP") || ({FPU}="VFPv4_SP_D16") || ({FPU}="FPv5-SP") || ({FPU}="FPv5_D16")
FPU_USED EQU 1 FPU_USED EQU 1
ELSE ELSE
FPU_USED EQU 0 FPU_USED EQU 0