1 /** 2 ****************************************************************************** 3 * @file partition_stm32l5xx.h 4 * @author MCD Application Team 5 * @brief CMSIS STM32L5xx Device Header File for Initial Setup for 6 * Secure / Non-Secure Zones based on CMSIS CORE V5.3.1 7 * 8 * The file is included in system_stm32l5xx_s.c in secure application. 9 * It includes the configuration section that allows to select the 10 * STM32L5xx device partitioning file for system core secure attributes 11 * and interrupt secure and non-secure assignment. 12 * 13 ****************************************************************************** 14 * @attention 15 * 16 * Copyright (c) 2019 STMicroelectronics. 17 * All rights reserved. 18 * 19 * This software is licensed under terms that can be found in the LICENSE file 20 * in the root directory of this software component. 21 * If no LICENSE file comes with this software, it is provided AS-IS. 22 * 23 ****************************************************************************** 24 */ 25 26 /** @addtogroup CMSIS 27 * @{ 28 */ 29 30 /** @addtogroup stm32l5xx 31 * @{ 32 */ 33 34 #ifndef PARTITION_STM32L5XX_H 35 #define PARTITION_STM32L5XX_H 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif /* __cplusplus */ 40 41 /** @addtogroup Secure_configuration_section 42 * @{ 43 */ 44 45 #if defined(STM32L552xx) 46 #include "partition_stm32l552xx.h" 47 #elif defined(STM32L562xx) 48 #include "partition_stm32l562xx.h" 49 #else 50 #error "Please select first the target STM32L5xx device used in your application (in stm32l5xx.h file)" 51 #endif /* STM32L552xx */ 52 53 /** 54 * @} 55 */ 56 57 #ifdef __cplusplus 58 } 59 #endif /* __cplusplus */ 60 61 #endif /* PARTITION_STM32L5XX_H */ 62 63 /** 64 * @} 65 */ 66 67 /** 68 * @} 69 */ 70