diff options
author | Ludovic Barre <ludovic.barre@st.com> | 2020-03-26 19:53:07 +0100 |
---|---|---|
committer | Tamas Ban <tamas.ban@arm.com> | 2020-06-15 10:05:07 +0000 |
commit | 8a77bddefef1f13a13831ad36ed729e51f6b06bd (patch) | |
tree | 6351eeba636a8249818349e53a4dbd28c80224b7 /docs | |
parent | 27c87b0c1fa2007156f2e3f97095c210d1982c99 (diff) | |
download | trusted-firmware-m-8a77bddefef1f13a13831ad36ed729e51f6b06bd.tar.gz |
Config: Add stm targets in single entry point
This patch allows to group all stm targets in single cmake entry point.
The stm TARGET_PLATFORM should prefix by "STM".
stm platforms supports CoreIPC, CoreIPCTfmLevel2 and RegressionIPCTfmLevel2
Build with GNUARM toolchain.
Change-Id: I6535420b2304c18f2ab260620c38fef632eb7488
Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/readme.rst | 4 | ||||
-rw-r--r-- | docs/user_guides/tfm_build_instruction.rst | 6 | ||||
-rw-r--r-- | docs/user_guides/tfm_integration_guide.rst | 4 | ||||
-rw-r--r-- | docs/user_guides/tfm_secure_boot.rst | 62 | ||||
-rw-r--r-- | docs/user_guides/tfm_sw_requirement.rst | 8 |
5 files changed, 55 insertions, 29 deletions
diff --git a/docs/readme.rst b/docs/readme.rst index c0d6d0a457..35e628a3bc 100644 --- a/docs/readme.rst +++ b/docs/readme.rst @@ -111,6 +111,10 @@ Platforms supported <https://developer.arm.com/docs/101965/0102/arm-designstart-fpga-on-cloud-arm-ds-getting-started>`_ - `NXP LPC55S69. <https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc5500-cortex-m33/lpcxpresso55s69-development-board:LPC55S69-EVK>`_ + - `NUCLEO L552ZE Q. + <https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-nucleo-boards/nucleo-l552ze-q.html>`_ + - `DISCO L562QE. + <https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-discovery-kits/stm32l562e-dk.html>`_ - Cortex-M23 system: diff --git a/docs/user_guides/tfm_build_instruction.rst b/docs/user_guides/tfm_build_instruction.rst index de910adde6..3f5d0f9f93 100644 --- a/docs/user_guides/tfm_build_instruction.rst +++ b/docs/user_guides/tfm_build_instruction.rst @@ -265,6 +265,12 @@ line arguments: See :doc:`Cypress PSoC 64 platform specifics </platform/ext/target/cypress/psoc64/cypress_psoc64_spec>` - DesignStart FPGA on Cloud: Cortex-M33 based platform (SSE-200_AWS platform) ``-DTARGET_PLATFORM=SSE-200_AWS`` + - DISCO_L562QE board (Cortex-M33 STM32L562) + ``-DTARGET_PLATFORM=STM_DISCO_L562QE`` + See :doc:`STM32L5xx platform specifics </platform/ext/target/stm/stm32l5xx/readme>` + - NUCLEO_L552ZE_Q (Cortex-M33 STM32L552) + ``-DTARGET_PLATFORM=SSTM_NUCLEO_L552ZE_Q`` + See :doc:`STM32L5xx platform specifics </platform/ext/target/stm/stm32l5xx/readme>` * - -DCOMPILER=<compiler name> - Specifies the compiler toolchain diff --git a/docs/user_guides/tfm_integration_guide.rst b/docs/user_guides/tfm_integration_guide.rst index 09e43a0e85..e4b56d1880 100644 --- a/docs/user_guides/tfm_integration_guide.rst +++ b/docs/user_guides/tfm_integration_guide.rst @@ -28,6 +28,7 @@ The hardware platforms currently supported are: - Musca-S1 test chip board (Cortex-M33 SSE-200 subsystem) - CoreLink SSE-200 Subsystem for MPS3 (AN524) - DesignStart FPGA on Cloud: Cortex-M33 based platform (SSE-200_AWS) +- STM32L5xx: Cortex-M33 based platform (STM32L562 and STM32L552 socs) The files related to the supported platforms are contained under the ``platform`` subfolder. The platform specific files are under @@ -53,6 +54,9 @@ More information about subsystems supported by the MPS3 board can be found in: More information about the SSE-200_AWS platform can be found in: `SSE-200_AWS product page <https://aws.amazon.com/marketplace/pp/ARM-DesignStart-FPGA-on-Cloud-Cortex-M33-based-pla/B082DMMTLW>`__ +More information about the STM32L5xx platform can be found in: +`STM32L5 series product page <https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus/stm32-ultra-low-power-mcus/stm32l5-series.html>`__ + Generic drivers and startup/scatter files ========================================= The addition of a new platform means the creation of a new subfolder inside diff --git a/docs/user_guides/tfm_secure_boot.rst b/docs/user_guides/tfm_secure_boot.rst index 917d018700..39e3146080 100644 --- a/docs/user_guides/tfm_secure_boot.rst +++ b/docs/user_guides/tfm_secure_boot.rst @@ -218,35 +218,39 @@ overwriting, swapping, non-swapping or loading into RAM and executing from there) are supported by the platforms. The table below shows which of these modes are supported by which platforms: -+------------------+-----------------+----------------------------------------------------------+ -| | Without BL2 [1]_| With BL2 [2]_ | -+==================+=================+===============+==========+=============+=================+ -| | XIP | XIP | XIP | XIP | Not XIP | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| | | Overwrite [3]_| Swap [4]_| No-swap [5]_| RAM loading [6]_| -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| AN521 | Yes | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| AN519 | Yes | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| AN539 | Yes | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| FVP_SSE300_MPS2 | NO | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| LPC55S69 | No | No | No | No | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| Musca-A | No | No | No | No | Yes | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| Musca-B1 | Yes | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| Musca-S1 | Yes | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| AN524 | Yes | No | No | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| PSoC64 | Yes | No | No | No | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ -| SSE-200_AWS | Yes | Yes | Yes | Yes | No | -+------------------+-----------------+---------------+----------+-------------+-----------------+ ++---------------------+-----------------+----------------------------------------------------------+ +| | Without BL2 [1]_| With BL2 [2]_ | ++=====================+=================+===============+==========+=============+=================+ +| | XIP | XIP | XIP | XIP | Not XIP | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| | | Overwrite [3]_| Swap [4]_| No-swap [5]_| RAM loading [6]_| ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| AN521 | Yes | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| AN519 | Yes | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| AN539 | Yes | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| FVP_SSE300_MPS2 | NO | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| LPC55S69 | No | No | No | No | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| Musca-A | No | No | No | No | Yes | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| Musca-B1 | Yes | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| Musca-S1 | Yes | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| AN524 | Yes | No | No | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| PSoC64 | Yes | No | No | No | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| SSE-200_AWS | Yes | Yes | Yes | Yes | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| STM_DISCO_L562QE | No | Yes | No | No | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ +| STM_NUCLEO_L552ZE_Q | No | Yes | No | No | No | ++---------------------+-----------------+---------------+----------+-------------+-----------------+ .. [1] To disable BL2, please turn off the ``BL2`` compiler switch in the build configuration file (``bl2/ext/mcuboot/MCUBootConfig.cmake``) or diff --git a/docs/user_guides/tfm_sw_requirement.rst b/docs/user_guides/tfm_sw_requirement.rst index d9f0ac87de..ca8688e0c8 100644 --- a/docs/user_guides/tfm_sw_requirement.rst +++ b/docs/user_guides/tfm_sw_requirement.rst @@ -137,6 +137,14 @@ with trustedfirmware-m `CMSIS release notes <https://github.com/ARM-software/CMSIS_5/releases>`__. for guidance. +******************************************** +Tools for configuring and programming boards +******************************************** + +For stm32l5xx boards, `STM32_Programmer_CLI <https://www.st.com/en/development-tools/stm32cubeprog.html>`__ +is used to configure security protections and to write the code in internal flash. +A version is available for Linux and Windows host machine. + ************** Example setups ************** |