Skip to content

Commit 180eb75

Browse files
author
Martin Kojtal
committed
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: ARM-software/CMSIS_5#1266
1 parent 4822ac5 commit 180eb75

File tree

1 file changed

+1
-1
lines changed
  • cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7

1 file changed

+1
-1
lines changed

cmsis/CMSIS_5/CMSIS/RTOS2/RTX/Source/TOOLCHAIN_ARM/TARGET_RTOS_M4_M7/irq_cm4f.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
RTX_STACK_CHECK EQU 0
2929
#endif
3030

31-
IF ({FPU}="FPv4-SP")
31+
IF ({FPU}="FPv4-SP") || ({FPU}="VFPv4_SP_D16") || ({FPU}="FPv5-SP") || ({FPU}="FPv5_D16")
3232
FPU_USED EQU 1
3333
ELSE
3434
FPU_USED EQU 0

0 commit comments

Comments
 (0)