aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/ARMCMx/devices/STM32L4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-30 09:49:53 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-30 09:49:53 +0000
commitf35ebd89d421105e8449d94c2bc80d81000e8246 (patch)
treeb26216c6129c9c14b11fddf864caf7f10370bcf6 /os/common/startup/ARMCMx/devices/STM32L4xx
parent17ed462d6f884883e5b0552dba582d4e9a30e7da (diff)
downloadChibiOS-f35ebd89d421105e8449d94c2bc80d81000e8246.tar.gz
ChibiOS-f35ebd89d421105e8449d94c2bc80d81000e8246.tar.bz2
ChibiOS-f35ebd89d421105e8449d94c2bc80d81000e8246.zip
Added STM32L496xx/STM32L4A6xx support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11089 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/startup/ARMCMx/devices/STM32L4xx')
-rw-r--r--os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h7
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