| 1 | /**
|
|---|
| 2 | ******************************************************************************
|
|---|
| 3 | * @file partition_stm32n6xx.h
|
|---|
| 4 | * @author MCD Application Team
|
|---|
| 5 | * @brief CMSIS STM32N6xx 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 | * STM32N6xx device partitioning file for system core secure attributes
|
|---|
| 11 | * and interrupt secure and non-secure assignment.
|
|---|
| 12 | *
|
|---|
| 13 | ******************************************************************************
|
|---|
| 14 | * @attention
|
|---|
| 15 | *
|
|---|
| 16 | * Copyright (c) 2023 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 STM32N6xx
|
|---|
| 31 | * @{
|
|---|
| 32 | */
|
|---|
| 33 |
|
|---|
| 34 | #ifndef PARTITION_STM32N6XX_H
|
|---|
| 35 | #define PARTITION_STM32N6XX_H
|
|---|
| 36 |
|
|---|
| 37 | #ifdef __cplusplus
|
|---|
| 38 | extern "C" {
|
|---|
| 39 | #endif /* __cplusplus */
|
|---|
| 40 |
|
|---|
| 41 | /** @addtogroup Secure_configuration_section
|
|---|
| 42 | * @{
|
|---|
| 43 | */
|
|---|
| 44 |
|
|---|
| 45 | #if defined(STM32N657xx)
|
|---|
| 46 | #include "partition_stm32n657xx.h"
|
|---|
| 47 | #elif defined(STM32N655xx)
|
|---|
| 48 | #include "partition_stm32n655xx.h"
|
|---|
| 49 | #elif defined(STM32N647xx)
|
|---|
| 50 | #include "partition_stm32n647xx.h"
|
|---|
| 51 | #elif defined(STM32N645xx)
|
|---|
| 52 | #include "partition_stm32n645xx.h"
|
|---|
| 53 | #else
|
|---|
| 54 | #error "Please select first the target STM32N6xx device used in your application (in stm32n6xx.h file)"
|
|---|
| 55 | #endif
|
|---|
| 56 |
|
|---|
| 57 |
|
|---|
| 58 | #ifdef __cplusplus
|
|---|
| 59 | }
|
|---|
| 60 | #endif /* __cplusplus */
|
|---|
| 61 |
|
|---|
| 62 | #endif /* PARTITION_STM32N6XX_H */
|
|---|
| 63 |
|
|---|
| 64 | /**
|
|---|
| 65 | * @}
|
|---|
| 66 | */
|
|---|
| 67 |
|
|---|
| 68 | /**
|
|---|
| 69 | * @}
|
|---|
| 70 | */
|
|---|
| 71 |
|
|---|