mirror of https://github.com/ARMmbed/mbed-os.git
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/1266pull/14900/head
parent
4822ac56a1
commit
180eb75f09
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue