Skip to content

Commit

Permalink
- Changed macro __VFP_FP__ to __ARM_FP for ports GCC/ARM_CM7, GCC/ARM…
Browse files Browse the repository at this point in the history
…_CM4_MPU, and GCC/ARM_CM4F to accurately reflect if floating point hardware support is enabled (FreeRTOS#1088)

Co-authored-by: Hayden Riddiford <[email protected]>
Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
  • Loading branch information
3 people authored and AhmedIsmail02 committed Jun 12, 2024
1 parent a106391 commit da329b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CM4F/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "FreeRTOS.h"
#include "task.h"

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

Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CM4_MPU/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "task.h"
#include "mpu_syscall_numbers.h"

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

Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CM7/r0p1/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "FreeRTOS.h"
#include "task.h"

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

Expand Down

0 comments on commit da329b4

Please sign in to comment.