File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 23
23
#endif
24
24
25
25
#if (__CORTEX_M == 4U )
26
+ #if defined(STM32WLxx )
27
+ /* Fallback to CM3 port as there is no FPU for STM32WL */
28
+ #include "../portable/GCC/ARM_CM3/port.c"
29
+ #else
26
30
/* MPU not supported */
27
31
#if 0 /*(__MPU_PRESENT == 1)*/
28
32
#include "../portable/GCC/ARM_CM4_MPU/port.c"
29
33
#else
30
34
#include "../portable/GCC/ARM_CM4F/port.c"
31
35
#endif
32
36
#endif
37
+ #endif
33
38
34
39
#if (__CORTEX_M == 7U )
35
40
/* 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
28
28
#endif
29
29
30
30
#if (__CORTEX_M == 4U )
31
+ #if defined(STM32WLxx )
32
+ /* Fallback to CM3 port as there is no FPU for STM32WL */
33
+ #include "../portable/GCC/ARM_CM3/portmacro.h"
34
+ #else
31
35
/* MPU not supported */
32
36
#if 0 /*(__MPU_PRESENT == 1)*/
33
37
#include "../portable/GCC/ARM_CM4_MPU/portmacro.h"
34
38
#else
35
39
#include "../portable/GCC/ARM_CM4F/portmacro.h"
36
40
#endif
37
41
#endif
42
+ #endif
38
43
39
44
#if (__CORTEX_M == 7U )
40
45
/* MPU not supported */
You can’t perform that action at this time.
0 commit comments