aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARMCMx/devices/STM32F7xx
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/startup/ARMCMx/devices/STM32F7xx')
-rw-r--r--os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h
index cd255884d..fae63949b 100644
--- a/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h
+++ b/os/common/startup/ARMCMx/devices/STM32F7xx/cmparams.h
@@ -43,17 +43,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 112
-
-/* The following code is not processed when the file is included from an
- asm module.*/
-#if !defined(_FROM_ASM_)
-
/* If the device type is not externally defined, for example from the Makefile,
then a file named board.h is included. This file must contain a device
definition compatible with the vendor include file.*/
@@ -66,6 +55,17 @@
#include "board.h"
#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 112
+
+/* The following code is not processed when the file is included from an
+ asm module.*/
+#if !defined(_FROM_ASM_)
+
/* Including the device CMSIS header. Note, we are not using the definitions
from this header because we need this file to be usable also from
assembler source files. We verify that the info matches instead.*/