1 /** 2 ****************************************************************************** 3 * @file partition_stm32h5xx.h 4 * @author MCD Application Team 5 * @brief CMSIS STM32H5xx Device Header File for Initial Setup for Secure / 6 * Non-Secure Zones for ARMCM33 based on CMSIS CORE partition_ARMCM33.h 7 * Template. 8 * 9 * The file is included in system_stm32h5xx_s.c in secure application. 10 * It includes the configuration section that allows to select the 11 * STM32H5xx device partitioning file for system core secure attributes 12 * and interrupt secure and non-secure assignment. 13 * 14 ****************************************************************************** 15 * Copyright (c) 2009-2019 Arm Limited. All rights reserved. 16 * Copyright (c) 2023 STMicroelectronics. All rights reserved. 17 * 18 * SPDX-License-Identifier: Apache-2.0 19 * 20 * Licensed under the Apache License, Version 2.0 (the License); you may 21 * not use this file except in compliance with the License. 22 * You may obtain a copy of the License at 23 * 24 * www.apache.org/licenses/LICENSE-2.0 25 * 26 * Unless required by applicable law or agreed to in writing, software 27 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 28 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 29 * See the License for the specific language governing permissions and 30 * limitations under the License. 31 ****************************************************************************** 32 */ 33 34 /** @addtogroup CMSIS 35 * @{ 36 */ 37 38 /** @addtogroup stm32h5xx 39 * @{ 40 */ 41 42 #ifndef PARTITION_STM32H5XX_H 43 #define PARTITION_STM32H5XX_H 44 45 #ifdef __cplusplus 46 extern "C" { 47 #endif /* __cplusplus */ 48 49 /** @addtogroup Secure_configuration_section 50 * @{ 51 */ 52 53 #if defined(STM32H573xx) 54 #include "partition_stm32h573xx.h" 55 #elif defined(STM32H563xx) 56 #include "partition_stm32h563xx.h" 57 #elif defined(STM32H562xx) 58 #include "partition_stm32h562xx.h" 59 #elif defined(STM32H533xx) 60 #include "partition_stm32h533xx.h" 61 #elif defined(STM32H523xx) 62 #include "partition_stm32h523xx.h" 63 #else 64 #error "Please select first the target STM32H5xx device used in your application (in stm32h5xx.h file)" 65 #endif 66 67 68 #ifdef __cplusplus 69 } 70 #endif /* __cplusplus */ 71 72 #endif /* PARTITION_STM32H5XX_H */ 73 /** 74 * @} 75 */ 76 77 /** 78 * @} 79 */ 80