diff options
Diffstat (limited to 'os/common/startup/ARMCMx/devices')
-rw-r--r-- | os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h index 95a4f5f7e..fbb304fe6 100644 --- a/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h +++ b/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h @@ -48,7 +48,11 @@ * @note This number does not include the 16 system vectors and must be
* rounded to a multiple of 8.
*/
+#if defined(STM32L496xx) || defined(STM32L4A6xx)
+#define CORTEX_NUM_VECTORS 96
+#else
#define CORTEX_NUM_VECTORS 88
+#endif
/* The following code is not processed when the file is included from an
asm module.*/
@@ -59,7 +63,8 @@ definition compatible with the vendor include file.*/
#if !defined(STM32L471xx) && !defined(STM32L475xx) && \
!defined(STM32L476xx) && !defined(STM32L485xx) && \
- !defined (STM32L486xx)
+ !defined(STM32L486xx) && !defined(STM32L496xx) && \
+ !defined(STM32L4A6xx)
#include "board.h"
#endif
|