docs: Guidance to minimise long build paths
- and small text alignment with the occasion
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: I2c4e744f56ced5289f90468b6bd23f55abc18b88
diff --git a/docs/getting_started/tfm_getting_started.rst b/docs/getting_started/tfm_getting_started.rst
index 09bd995..e4df2dc 100644
--- a/docs/getting_started/tfm_getting_started.rst
+++ b/docs/getting_started/tfm_getting_started.rst
@@ -145,8 +145,9 @@
.. note::
- Arm compiler starting from *v6.15* may cause MemManage fault in TF-M higher isolation levels.
- The issue is under investigation and recommended to using versions prior to v6.15.
+ Arm compiler starting from *v6.15* may cause MemManage fault in TF-M
+ higher isolation levels. The issue is under investigation and
+ recommended to using versions prior to v6.15.
- GNU Arm compiler v7.3.1+
@@ -243,6 +244,20 @@
cmake -G"Unix Makefiles" .. -DTFM_PLATFORM=arm/mps2/an521 -DTFM_TOOLCHAIN_FILE=../toolchain_GNUARM.cmake -DTEST_S=ON -DTEST_NS=ON
make install
+
+ .. note::
+ The latest Windows support long paths, but if you are less lucky
+ then you can reduce paths by moving the build directory closer to
+ the root, using the 'out of tree' build.
+ For example to build in ``C:\build`` folder you can:
+
+ .. code-block:: bash
+
+ cd trusted-firmware-m
+ cmake -G"Unix Makefiles" -S . -B C:/build -DTFM_PLATFORM=arm/mps2/an521 -DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake -DCMAKE_BUILD_TYPE=Debug -DTEST_S=ON -DTEST_NS=ON
+ cmake --build C:/build -- install
+
+
###########################
Run AN521 regression sample
###########################