aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/ARMCMx/devices/STM32F1xx
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/ports/ARMCMx/devices/STM32F1xx')
-rw-r--r--os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h b/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h
index 30d81bcc9..9f91938ff 100644
--- a/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h
+++ b/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h
@@ -34,7 +34,7 @@
/**
* @brief Cortex core model.
*/
-#define CORTEX_MODEL CORTEX_M3
+#define CORTEX_MODEL 3
/**
* @brief Floating Point unit presence.
@@ -65,8 +65,8 @@
assembler source files. We verify that the info matches instead.*/
#include "stm32f10x.h"
-#if !CORTEX_HAS_FPU != !__FPU_PRESENT
-#error "CMSIS __FPU_PRESENT mismatch"
+#if CORTEX_MODEL != __CORTEX_M
+#error "CMSIS __CORTEX_M mismatch"
#endif
#if CORTEX_PRIORITY_BITS != __NVIC_PRIO_BITS