From 81e08e239490c4218d4bf30269c375eea256da39 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 4 Apr 2018 11:58:19 +0000 Subject: STM32L4+ preliminary work. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11874 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/common/startup/ARMCMx/devices/STM32L4xx/cmparams.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'os/common/startup/ARMCMx/devices/STM32L4xx') 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 -- cgit v1.2.3