File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2323#endif
2424
2525#if (__CORTEX_M == 4U )
26+ #if (__FPU_PRESENT == 0 )
27+ /* Fallback to CM3 port as there is no FPU */
28+ #include "../portable/GCC/ARM_CM3/port.c"
29+ #else
2630/* MPU not supported */
2731#if 0 /*(__MPU_PRESENT == 1)*/
2832#include "../portable/GCC/ARM_CM4_MPU/port.c"
2933#else
3034#include "../portable/GCC/ARM_CM4F/port.c"
3135#endif
3236#endif
37+ #endif
3338
3439#if (__CORTEX_M == 7U )
3540/* MPU not supported */
Original file line number Diff line number Diff line change @@ -28,13 +28,18 @@ inline __attribute__(( always_inline )) static BaseType_t xPortIsInsideInterrupt
2828#endif
2929
3030#if (__CORTEX_M == 4U )
31+ #if (__FPU_PRESENT == 0 )
32+ /* Fallback to CM3 port as there is no FPU */
33+ #include "../portable/GCC/ARM_CM3/portmacro.h"
34+ #else
3135/* MPU not supported */
3236#if 0 /*(__MPU_PRESENT == 1)*/
3337#include "../portable/GCC/ARM_CM4_MPU/portmacro.h"
3438#else
3539#include "../portable/GCC/ARM_CM4F/portmacro.h"
3640#endif
3741#endif
42+ #endif
3843
3944#if (__CORTEX_M == 7U )
4045/* MPU not supported */
You can’t perform that action at this time.
0 commit comments