partition_stm32l5xx.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
  17. * All rights reserved.</center></h2>
  18. *
  19. * This software component is licensed by ST under BSD 3-Clause license,
  20. * the "License"; You may not use this file except in compliance with the
  21. * License. You may obtain a copy of the License at:
  22. * opensource.org/licenses/BSD-3-Clause
  23. *
  24. ******************************************************************************
  25. */
  26. /** @addtogroup CMSIS
  27. * @{
  28. */
  29. /** @addtogroup stm32l5xx
  30. * @{
  31. */
  32. #ifndef PARTITION_STM32L5XX_H
  33. #define PARTITION_STM32L5XX_H
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif /* __cplusplus */
  37. /** @addtogroup Secure_configuration_section
  38. * @{
  39. */
  40. #if defined(STM32L552xx)
  41. #include "partition_stm32l552xx.h"
  42. #elif defined(STM32L562xx)
  43. #include "partition_stm32l562xx.h"
  44. #else
  45. #error "Please select first the target STM32L5xx device used in your application (in stm32l5xx.h file)"
  46. #endif
  47. #ifdef __cplusplus
  48. }
  49. #endif /* __cplusplus */
  50. #endif /* PARTITION_STM32L5XX_H */
  51. /**
  52. * @}
  53. */
  54. /**
  55. * @}
  56. */
  57. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/