From 9cfda9b1fab9fcad8f8e042ba862916f01fbc68d Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Thu, 2 Jun 2022 18:29:10 +0800 Subject: [PATCH] doc: Fix doc typo and format Signed-off-by: Huaqi Fang <578567190@qq.com> --- doc/source/changelog.rst | 4 ++-- doc/source/develop/buildsystem.rst | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index 0865dd56..2c914955 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -21,11 +21,11 @@ This is release version ``0.3.8`` of Nuclei SDK. * Build + - Add ``SYSCLK`` and ``CLKSRC`` make variable for gd32vf103 SoC to set system clock in hz and clock source, such as ``SYSCLK=72000000 CLKSRC=hxtal`` - Exclude source files using ``EXCLUDE_SRCS`` make variable in Makefile - ``C_SRCS/ASM_SRCS/CXX_SRCS`` now support wildcard pattern - - ``USB_DRV_SUPPORT`` in gd32vf103 is removed, new ``USB_DRIVER`` is introduced, ``USB_DRIVER=device/host/both`` to choose device, - host or both driver code. + - ``USB_DRV_SUPPORT`` in gd32vf103 is removed, new ``USB_DRIVER`` is introduced, ``USB_DRIVER=device/host/both`` to choose device, host or both driver code. - ``SMP``, ``HEAPSZ`` and ``STACKSZ`` make variable are introduced to control stack/heap size and smp cpu count used in SDK diff --git a/doc/source/develop/buildsystem.rst b/doc/source/develop/buildsystem.rst index 15ef400b..bf90fe63 100644 --- a/doc/source/develop/buildsystem.rst +++ b/doc/source/develop/buildsystem.rst @@ -445,7 +445,7 @@ Currently we support the following SoCs, see :ref:`table_dev_buildsystem_1`. .. note:: If you are our SoC subsystem customer, in the SDK delivered to you, you can find your soc name - in this **/SoC** directory, take ``gd32vf103`` SoC as example, when **SOC=gd32vf103``, + in this **/SoC** directory, take ``gd32vf103`` SoC as example, when ``SOC=gd32vf103``, the SoC source code in **/SoC/gd32vf103/Common** will be used. This documentation just document the open source version of Nuclei SDK's supported SOC and Board. @@ -626,15 +626,16 @@ Currently it has these cores supported as described in table ux900fd rv64imafdc lp64d nuclei-900-series ======== ========== ======= ================= -When **CORE** is selected, the **ARCH**, **ABI** and **TUNE**(optional) are set, +When **CORE** is selected, the **ARCH**, **ABI** and **TUNE** (optional) are set, and it might affect the compiler options in combination with :ref:`develop_buildsystem_var_archext` depended on the implementation of SoC build.mk. Take ``SOC=demosoc`` as example. -- If **CORE=n205 ARCH_EXT=**, then ``ARCH=rv32imac, ABI=ilp32 TUNE=nuclei-200-series``, -riscv arch related compile and link options will be passed, for this case, -it will be ``-march=rv32imac -mabi=ilp32 -mtune=nuclei-200-series``. +- If **CORE=n205 ARCH_EXT=**, then ``ARCH=rv32imac, ABI=ilp32 TUNE=nuclei-200-series``. + riscv arch related compile and link options will be passed, for this case, it will be + ``-march=rv32imac -mabi=ilp32 -mtune=nuclei-200-series``. + - If **CORE=n205 ARCH_EXT=b**, it will be ``-march=rv32imacb -mabi=ilp32 -mtune=nuclei-200-series``. For riscv code model settings, the ``RISCV_CMODEL`` variable will be set to medlow