diff options
Diffstat (limited to 'os/common')
-rw-r--r-- | os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h b/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h index 43277ee96..e742a7e66 100644 --- a/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h +++ b/os/common/ports/ARMCMx/devices/STM32F4xx/cmparams.h @@ -57,7 +57,7 @@ * @note This number does not include the 16 system vectors and must be
* rounded to a multiple of 8.
*/
-#define CORTEX_NUM_VECTORS 88
+#define CORTEX_NUM_VECTORS 96
/* The following code is not processed when the file is included from an
asm module.*/
@@ -66,7 +66,8 @@ /* 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.*/
-#if !defined(STM32F40XX) && !defined(STM32F427X)
+#if !defined(STM32F40_41xxx) && !defined(STM32F427_437xx) && \
+ !defined(STM32F429_439xx) && !defined(STM32F401xx)
#include "board.h"
#endif
|