aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinyu Zhang <xinyu.zhang@arm.com>2022-06-30 18:03:31 +0800
committerDavid Hu <david.hu@arm.com>2022-07-03 09:35:41 +0200
commit8ec30633d38ff2e86fa51f30bcb44c162348d0df (patch)
treef608ec18071f3de24377801f4b62a3188e84c670
parent41e6bcbab4dd58c80c32e8621658d2457a698e90 (diff)
downloadtrusted-firmware-m-8ec30633d38ff2e86fa51f30bcb44c162348d0df.tar.gz
Docs: Add compiler version note for FPU
GCC 10.3 has unexpected build warnings. Add this description to FPU support docs. Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: I575c7717bf414f117fffa5d64ddaa590880019df
-rw-r--r--docs/integration_guide/tfm_fpu_support.rst13
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/integration_guide/tfm_fpu_support.rst b/docs/integration_guide/tfm_fpu_support.rst
index df6cdcab31..53eb717330 100644
--- a/docs/integration_guide/tfm_fpu_support.rst
+++ b/docs/integration_guide/tfm_fpu_support.rst
@@ -30,10 +30,15 @@ you enable FP support on your platforms.
configuration ``CONFIG_TFM_ENABLE_FPU`` to ``ON`` and **ignore** any
configurations described below.
+.. Note::
+ ``GNU Arm Embedded Toolchain 10.3-2021.10`` may have issue that reports
+ ``'-mcpu=cortex-m55' conflicts with '-march=armv8.1-m.main'`` warning [8]_.
+ This issue has been fixed in the later version.
+
============================
FP ABI type for SPE and NSPE
============================
-FP design in Armv8.0-M [8]_ architecture requires consistent FP ABI types
+FP design in Armv8.0-M [9]_ architecture requires consistent FP ABI types
between SPE and NSPE. Furthermore, both sides shall set up CPACR individually
when FPU is used. Otherwise, No Coprocessor (NOCP) usage fault will be asserted
during FP context switch between security states.
@@ -121,8 +126,10 @@ Reference
.. [7] `Musca-S1 Test Chip Board <https://developer.arm.com/tools-and-software/development-boards/iot-test-chips-and-boards/musca-s1-test-chip-board>`_
-.. [8] `Armv8-M Architecture Reference Manual <https://developer.arm.com/documentation/ddi0553/latest>`_
+.. [8] `GCC Issue on '-mcpu=cortex-m55' conflicts with '-march=armv8.1-m.main' Warning <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97327>`_
+
+.. [9] `Armv8-M Architecture Reference Manual <https://developer.arm.com/documentation/ddi0553/latest>`_
--------------
-*Copyright (c) 2021, Arm Limited. All rights reserved.*
+*Copyright (c) 2021-2022, Arm Limited. All rights reserved.*