diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-04-04 11:58:19 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-04-04 11:58:19 +0000 |
commit | 81e08e239490c4218d4bf30269c375eea256da39 (patch) | |
tree | 110fe0aead7ef752d06de9cea8284ad5ec2e5684 /os/common/startup/ARMCMx/devices/STM32L4xx | |
parent | cad32476733c4825ee16e1880e3d2d32ba833baf (diff) | |
download | ChibiOS-81e08e239490c4218d4bf30269c375eea256da39.tar.gz ChibiOS-81e08e239490c4218d4bf30269c375eea256da39.tar.bz2 ChibiOS-81e08e239490c4218d4bf30269c375eea256da39.zip |
STM32L4+ preliminary work.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11874 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/common/startup/ARMCMx/devices/STM32L4xx')
-rw-r--r-- | os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h index d1c070a17..1315dc472 100644 --- a/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h +++ b/os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h @@ -48,7 +48,9 @@ * @note This number does not include the 16 system vectors and must be
* rounded to a multiple of 8.
*/
-#if defined(STM32L496xx) || defined(STM32L4A6xx)
+#if defined(STM32L496xx) || defined(STM32L4A6xx) || defined(STM32L4R5xx) || \
+ defined(STM32L4R7xx) || defined(STM32L4R9xx) || defined(STM32L4S5xx) || \
+ defined(STM32L4S7xx) || defined(STM32L4S9xx)
#define CORTEX_NUM_VECTORS 96
#else
#define CORTEX_NUM_VECTORS 88
@@ -61,10 +63,17 @@ /* 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(STM32L471xx) && !defined(STM32L475xx) && \
+#if !defined(STM32L431xx) && !defined(STM32L432xx) && \
+ !defined(STM32L433xx) && !defined(STM32L442xx) && \
+ !defined(STM32L443xx) && !defined(STM32L451xx) && \
+ !defined(STM32L452xx) && !defined(STM32L462xx) && \
+ !defined(STM32L471xx) && !defined(STM32L475xx) && \
!defined(STM32L476xx) && !defined(STM32L485xx) && \
!defined(STM32L486xx) && !defined(STM32L496xx) && \
- !defined(STM32L4A6xx)
+ !defined(STM32L4A6xx) && \
+ !defined(STM32L4R5xx) && !defined(STM32L4R7xx) && \
+ !defined(STM32L4R9xx) && !defined(STM32L4S5xx) && \
+ !defined(STM32L4S7xx) && !defined(STM32L4S9xx) && \
#include "board.h"
#endif
|