/**
  @page SBSFU_Appli

  @verbatim
  ******************************************************************************
  * @file    readme.txt
  * @brief   This application generates the SBSFU application secure and non
  *          secure binaries
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2019 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  @endverbatim

@par Application description

The SBSFU_Appli application consists in two distinct projects: the SBSFU_Appli
Secure and SBSFU_Appli Non Secure projects.
The SBSFU_Appli Secure project is used to generate the SBSFU_Appli Secure binary
file. The core function of this application relies on the trusted firmware (TFM)
middleware and the mbed-crypto middleware.
It has to be compiled after SBSFU_Boot project.

The SBSFU_Appli Non Secure project is used to generate the SBSFU_Appli Non Secure
binary file. The core function of this application relies on the trusted
firmware (TFM) middleware.
It has to be compiled after SBSFU_Appli Secure project.

In order to ease the development process, prebuild and postbuild commands are
integrated in each toolchain for both projects.
The prebuild command is in charge of preparing the scatter file according to
common flash layout description in linker folder.
The postbuild command is in charge of signing the binaries, so that they are
trusted by firmware update process.

@note The instruction cache (ICACHE) must be enabled by software to get a 0 wait-state execution
      from Flash memory and external memories, and reach the maximum performance.

@par Keywords

Security, SBSFU, FLASH, TrustZone

@par Directory contents

  - SBSFU_Appli/Secure/Inc/main.h                   Secure Main program header file
  - SBSFU_Appli/Secure/Inc/partition_stm32l552xx.h  STM32L5 Device System Configuration file
  - SBSFU_Appli/Secure/Inc/stm32l5xx_hal_conf.h     Secure HAL Configuration file
  - SBSFU_Appli/Secure/Inc/stm32l5xx_it.h           Secure Interrupt handlers header file

  - SBSFU_Appli/Secure/Src/main.c                   Secure Main program
  - SBSFU_Appli/Secure/Src/secure_nsc.c             Secure Non-secure callable functions
  - SBSFU_Appli/Secure/Src/stm32l5xx_hal_msp.c      Secure HAL MSP module
  - SBSFU_Appli/Secure/Src/stm32l5xx_it.c           Secure Interrupt handlers
  - SBSFU_Appli/Secure/Src/system_stm32l5xx_s.c     Secure STM32L5xx system clock configuration file

  - SBSFU_Appli/Secure_nsclib/secure_nsc.h          Secure Non-Secure Callable (NSC) module header file

  - SBSFU_Appli/NonSecure/Inc/com.h                 Header file for com.c
  - SBSFU_Appli/NonSecure/Inc/common.h              Header file for common.c
  - SBSFU_Appli/NonSecure/Inc/flash_if.h            Header file for flash_if.c
  - SBSFU_Appli/NonSecure/Inc/fw_update_app.h       Header file for fw_update.c
  - SBSFU_Appli/NonSecure/Inc/main.h                Header file for main.c
  - SBSFU_Appli/NonSecure/Inc/mpu_armv8m_drv.h      Header file for mpu_armv8m_drv.c
  - SBSFU_Appli/NonSecure/Inc/stm32l5xx_hal_conf.h  HAL configuration file
  - SBSFU_Appli/NonSecure/Inc/stm32l5xx_it.h        Header file for stm32l5xx_it.c
  - SBSFU_Appli/NonSecure/Inc/test_protections.h    Header file for test_protections.c
  - SBSFU_Appli/NonSecure/Inc/ymodem.h              Header file for ymodem.c

  - SBSFU_Appli/NonSecure/Src/com.c                 Uart low level interface
  - SBSFU_Appli/NonSecure/Src/common.c              Uart common functionalities
  - SBSFU_Appli/NonSecure/Src/flash_if.c            Flash Low level interface
  - SBSFU_Appli/NonSecure/Src/fw_update_app.c       Firmware update example
  - SBSFU_Appli/NonSecure/Src/main.c                Main application file
  - SBSFU_Appli/NonSecure/Src/mpu_armv8m_drv.c      MPU low level interface
  - SBSFU_Appli/NonSecure/Src/stm32l5xx_it.c        Interrupt handlers
  - SBSFU_Appli/NonSecure/Src/system_stm32l5xx_ns.c System init file
  - SBSFU_Appli/NonSecure/Src/test_protections.c    Test protections example
  - SBSFU_Appli/NonSecure/Src/ymodem.c              Ymodem support

@par How to use it ?

In order to build the SBSFU_Appli Secure and Non Secure projects, you must do the
following:
 - Open your preferred toolchain
 - Rebuild the two projects

Then refer to SBSFU\readme.txt for SBSFU usage.


 */
