From 904182fd332e97b474c5733866bc653befc57587 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 26 Oct 2014 09:30:50 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7420 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'os/common/ports/ARMCMx/devices/STM32F1xx/cmparams.h') 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_ */ -- cgit v1.2.3