Skip to content

Commit 285b31b

Browse files
author
Hayden Riddiford
committed
- Changed macro __VFP_FP__ to __ARM_FP for ports GCC/ARM_CM7, GCC/ARM_CM4_MPU, and GCC/ARM_CM4F to accurately reflect if floating point hardware support is enabled
1 parent bee9037 commit 285b31b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

portable/GCC/ARM_CM4F/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "FreeRTOS.h"
3535
#include "task.h"
3636

37-
#ifndef __VFP_FP__
37+
#ifndef __ARM_FP
3838
#error This port can only be used when the project options are configured to enable hardware floating point support.
3939
#endif
4040

portable/GCC/ARM_CM4_MPU/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include "task.h"
4141
#include "mpu_syscall_numbers.h"
4242

43-
#ifndef __VFP_FP__
43+
#ifndef __ARM_FP
4444
#error This port can only be used when the project options are configured to enable hardware floating point support.
4545
#endif
4646

portable/GCC/ARM_CM7/r0p1/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "FreeRTOS.h"
3535
#include "task.h"
3636

37-
#ifndef __VFP_FP__
37+
#ifndef __ARM_FP
3838
#error This port can only be used when the project options are configured to enable hardware floating point support.
3939
#endif
4040

0 commit comments

Comments
 (0)