aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/ARMCMx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-26 09:30:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-26 09:30:50 +0000
commit904182fd332e97b474c5733866bc653befc57587 (patch)
treed32d4b9b0973fe6b795f23af277a86e96514c27c /os/common/ports/ARMCMx
parent296d9d2092fe64997fbf6c52da4732f20268cea2 (diff)
downloadChibiOS-904182fd332e97b474c5733866bc653befc57587.tar.gz
ChibiOS-904182fd332e97b474c5733866bc653befc57587.tar.bz2
ChibiOS-904182fd332e97b474c5733866bc653befc57587.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7420 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/ARMCMx')
-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_ */