aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/ports/common/ARMCMx/CMSIS/include/arm_math.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/os/ports/common/ARMCMx/CMSIS/include/arm_math.h b/os/ports/common/ARMCMx/CMSIS/include/arm_math.h
index b6eb12889..266dbfc91 100644
--- a/os/ports/common/ARMCMx/CMSIS/include/arm_math.h
+++ b/os/ports/common/ARMCMx/CMSIS/include/arm_math.h
@@ -261,7 +261,10 @@
#if defined(STM32F4XX)
#define ARM_MATH_CM4
#define __FPU_PRESENT 1
-#elif (defined(STM32F2XX) || defined(STM32F1XX) || defined(STM32L1XX))
+#elif (defined(STM32F10X_LD) || defined(STM32F10X_LD_VL) || \
+ defined(STM32F10X_MD) || defined(STM32F10X_MD_VL) || \
+ defined(STM32F10X_HD) || defined(STM32F10X_XL) || \
+ defined(STM32F10X_CL))
#define ARM_MATH_CM3
#elif defined(STM32F0XX)
#define ARM_MATH_CM0