aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h b/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h
index 05c2ba31e..b741a6674 100644
--- a/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h
+++ b/os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h
@@ -47,13 +47,6 @@
*/
#define CORTEX_PRIORITY_BITS 4
-/**
- * @brief Number of interrupt vectors.
- * @note This number does not include the 16 system vectors and must be
- * rounded to a multiple of 8.
- */
-#define CORTEX_NUM_VECTORS __NVECTORS
-
/* The following code is not processed when the file is included from an
asm module.*/
#if !defined(_FROM_ASM_)
@@ -97,6 +90,13 @@
#error "STM32F1xx device not defined or not recognized"
#endif
+/**
+ * @brief Number of interrupt vectors.
+ * @note This number does not include the 16 system vectors and must be
+ * rounded to a multiple of 8.
+ */
+#define CORTEX_NUM_VECTORS __NVECTORS
+
#endif /* !defined(_FROM_ASM_) */
#endif /* _CMPARAMS_H_ */