doc: toolchain: ATfE: fix formating

This commit fixe text formatting, removing numbered paragraphs, and
adding sub-titled parts.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
This commit is contained in:
Alex Fabre 2025-05-07 20:50:29 +02:00 committed by Anas Nashif
commit 7e00170fa9

View file

@ -3,17 +3,17 @@
Arm Toolchain for Embedded (ATfE)
#################################
#. LLVM toolchain by ARM
#. Arm Toolchain for Embedded (ATfE) is a C and C++ toolchain from Arm based
Arm Toolchain for Embedded (ATfE) is a C and C++ toolchain from Arm based
on the free and open-source LLVM Compiler Infrastructure and the Picolib C
library for baremetal targets.
#. ATfE is fined-tuned with a particular focus on performance for newer
ATfE is fined-tuned with a particular focus on performance for newer
ARM products (post 2024) like 64-bit Arm Architectures (AArch64),
or the M-Profile Vector Extension (MVE, a 32-bit Armv8.1-M extension).
#. Installation
Installation
************
#. Download and install a `Arm toolchain for embedded`_ build for your operating system
and extract it on your file system.
@ -65,17 +65,18 @@ Arm Toolchain for Embedded (ATfE)
west build ... -- -DZEPHYR_TOOLCHAIN_VARIANT=llvm -DLLVM_TOOLCHAIN_PATH=...
#. Toolchain settings
Toolchain settings
******************
#. Because LLVM is widely compatible with GNU tools, When builiding with any
Because LLVM is widely compatible with GNU tools, When builiding with any
LLVM toolchain, you have to specify some settings to let the compiler
know what tools to use:
#. Linker:
Linker:
Set :envvar:`CONFIG_LLVM_USE_LLD=y` to use LLVM linker.
set :envvar:`CONFIG_LLVM_USE_LD=y` to use the GNU LD linker.
#. Runtime library:
Runtime library:
Set :envvar:`CONFIG_COMPILER_RT_RTLIB=y` to use LLVM runtime library.
Set :envvar:`CONFIG_LIBGCC_RTLIB=y` to use LibGCC runtime library.