aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target
diff options
context:
space:
mode:
authorAbbas Bracken Ziad <abbas.brackenziad@arm.com>2021-06-07 16:56:12 +0100
committerDavid Hu <david.hu@arm.com>2021-07-16 04:47:13 +0200
commit15bfab373f17b09c497d51c0dd36814829c41053 (patch)
tree8a91b9e661edbc60c056d199829b418ab136311a /platform/ext/target
parent6b5de6f790b9a5bf00521691ead14d7995804e8d (diff)
downloadtrusted-firmware-m-15bfab373f17b09c497d51c0dd36814829c41053.tar.gz
Docs: update NUCLEO-L552ZE-Q builds to use TFM_TOOLCHAIN_FILE
The build instructions for NUCLEO-L552ZE-Q were using the now deprecated CMAKE_TOOLCHAIN_FILE setting. In fact, the build would fail as this setting no longer accepts relative paths. There are two options: supply an absolute path or instead use TFM_TOOLCHAIN_FILE. This patch applies the second option. Signed-off-by: Abbas Bracken Ziad <abbas.brackenziad@arm.com> Change-Id: Id03dbf263afa466fc6c022a414d8d31b5bb40d5c
Diffstat (limited to 'platform/ext/target')
-rw-r--r--platform/ext/target/stm/nucleo_l552ze_q/readme.rst5
-rw-r--r--platform/ext/target/stm/stm32l562e_dk/readme.rst5
2 files changed, 6 insertions, 4 deletions
diff --git a/platform/ext/target/stm/nucleo_l552ze_q/readme.rst b/platform/ext/target/stm/nucleo_l552ze_q/readme.rst
index 448aa11962..f234692d6a 100644
--- a/platform/ext/target/stm/nucleo_l552ze_q/readme.rst
+++ b/platform/ext/target/stm/nucleo_l552ze_q/readme.rst
@@ -12,11 +12,12 @@ and build the selected configuration as follow.
``> mkdir build && cd build``
-``> cmake .. -DTFM_PLATFORM=stm/nucleo_l552ze_q -DCMAKE_TOOLCHAIN_FILE=../toolchain_GNUARM.cmake -G"Unix Makefiles"``
+``> cmake .. -DTFM_PLATFORM=stm/nucleo_l552ze_q -DTFM_TOOLCHAIN_FILE=../toolchain_GNUARM.cmake -G"Unix Makefiles"``
``> cmake --build ./ -- install``
-------------
-*Copyright (c) 2019 STMicroelectronics. All rights reserved.*
+*Copyright (c) 2021, Arm Limited. All rights reserved.*
+*Copyright (c) 2019, STMicroelectronics. All rights reserved.*
*SPDX-License-Identifier: BSD-3-Clause*
diff --git a/platform/ext/target/stm/stm32l562e_dk/readme.rst b/platform/ext/target/stm/stm32l562e_dk/readme.rst
index 5ad6dad1ca..7dd0e880d2 100644
--- a/platform/ext/target/stm/stm32l562e_dk/readme.rst
+++ b/platform/ext/target/stm/stm32l562e_dk/readme.rst
@@ -11,11 +11,12 @@ and build the selected configuration as follow.
``> mkdir build && cd build``
-``> cmake .. -DTFM_PLATFORM=stm/nucleo_l552ze_q -DCMAKE_TOOLCHAIN_FILE=../toolchain_GNUARM.cmake -G"Unix Makefiles"``
+``> cmake .. -DTFM_PLATFORM=stm/stm32l562e-dk -DTFM_TOOLCHAIN_FILE=../toolchain_GNUARM.cmake -G"Unix Makefiles"``
``> cmake --build ./ -- install``
-------------
-*Copyright (c) 2019 STMicroelectronics. All rights reserved.*
+*Copyright (c) 2021, Arm Limited. All rights reserved.*
+*Copyright (c) 2019, STMicroelectronics. All rights reserved.*
*SPDX-License-Identifier: BSD-3-Clause*