Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/frLiuLayland/frLiuLayland.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct task_t {
task_t tasks1[] = {{10, 5, 2}, {15, 6, 1}};
task_t tasks2[] = {{10, 5, 2}, {15, 4, 1}};
task_t tasks3[] = {{10, 3, 3}, {13, 4, 2}, {17, 4, 1}};
task_t tasks4[] = {{10, 3, 3}, {13, 4, 2}, {17, 2, 1}};
task_t tasks4[] = {{10, 3, 3}, {13, 4, 2}, {17, 1, 1}};
task_t* taskList[] = {tasks1, tasks2, tasks3, tasks4};
int taskCount[] = {2, 2, 3, 3};
//------------------------------------------------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions src/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@
#endif

#if (__CORTEX_M == 4U)
#if (__FPU_PRESENT == 0)
/* Fallback to CM3 port as there is no FPU */
#include "../portable/GCC/ARM_CM3/port.c"
#else
/* MPU not supported */
#if 0 /*(__MPU_PRESENT == 1)*/
#include "../portable/GCC/ARM_CM4_MPU/port.c"
#else
#include "../portable/GCC/ARM_CM4F/port.c"
#endif
#endif
#endif

#if (__CORTEX_M == 7U)
/* MPU not supported */
Expand Down
5 changes: 5 additions & 0 deletions src/portmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,18 @@ inline __attribute__(( always_inline )) static BaseType_t xPortIsInsideInterrupt
#endif

#if (__CORTEX_M == 4U)
#if (__FPU_PRESENT == 0)
/* Fallback to CM3 port as there is no FPU */
#include "../portable/GCC/ARM_CM3/portmacro.h"
#else
/* MPU not supported */
#if 0 /*(__MPU_PRESENT == 1)*/
#include "../portable/GCC/ARM_CM4_MPU/portmacro.h"
#else
#include "../portable/GCC/ARM_CM4F/portmacro.h"
#endif
#endif
#endif

#if (__CORTEX_M == 7U)
/* MPU not supported */
Expand Down