1 /**
2   ******************************************************************************
3   * @file    partition_stm32u5xx.h
4   * @author  MCD Application Team
5   * @brief   CMSIS STM32U5xx Device Header File for Initial Setup for
6   *          Secure / Non-Secure Zones based on CMSIS CORE V5.4.0
7   *
8   *          The file is included in system_stm32u5xx_s.c in secure application.
9   *          It includes the configuration section that allows to select the
10   *          STM32U5xx device partitioning file for system core secure attributes
11   *          and interrupt secure and non-secure assignment.
12   *
13   ******************************************************************************
14   * @attention
15   *
16   * Copyright (c) 2021 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 stm32u5xx
31   * @{
32   */
33 
34 #ifndef PARTITION_STM32U5XX_H
35 #define PARTITION_STM32U5XX_H
36 
37 #ifdef __cplusplus
38  extern "C" {
39 #endif /* __cplusplus */
40 
41 /** @addtogroup Secure_configuration_section
42   * @{
43   */
44 
45 #if defined(STM32U575xx)
46   #include "partition_stm32u575xx.h"
47 #elif defined(STM32U585xx)
48   #include "partition_stm32u585xx.h"
49 #elif defined(STM32U595xx)
50   #include "partition_stm32u595xx.h"
51 #elif defined(STM32U5A5xx)
52   #include "partition_stm32u5a5xx.h"
53 #elif defined(STM32U599xx)
54   #include "partition_stm32u599xx.h"
55 #elif defined(STM32U5A9xx)
56   #include "partition_stm32u5a9xx.h"
57 #elif defined(STM32U5F7xx)
58   #include "partition_stm32u5f7xx.h"
59 #elif defined(STM32U5G7xx)
60   #include "partition_stm32u5g7xx.h"
61 #elif defined(STM32U5F9xx)
62   #include "partition_stm32u5f9xx.h"
63 #elif defined(STM32U5G9xx)
64   #include "partition_stm32u5g9xx.h"
65 #elif defined(STM32U535xx)
66   #include "partition_stm32u535xx.h"
67 #elif defined(STM32U545xx)
68   #include "partition_stm32u545xx.h"
69 #else
70   #error "Please select first the target STM32U5xx device used in your application (in stm32u5xx.h file)"
71 #endif
72 
73 #ifdef __cplusplus
74 }
75 #endif /* __cplusplus */
76 
77 #endif /* PARTITION_STM32U5XX_H */
78 /**
79   * @}
80   */
81 
82 /**
83   * @}
84   */
85