Skip to content

Commit

Permalink
doc: Fix doc typo and format
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <578567190@qq.com>
  • Loading branch information
fanghuaqi committed Jun 2, 2022
1 parent 4c72945 commit 9cfda9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions doc/source/changelog.rst
Expand Up @@ -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

Expand Down
11 changes: 6 additions & 5 deletions doc/source/develop/buildsystem.rst
Expand Up @@ -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 **<NUCLEI_SDK_ROOT>/SoC** directory, take ``gd32vf103`` SoC as example, when **SOC=gd32vf103``,
in this **<NUCLEI_SDK_ROOT>/SoC** directory, take ``gd32vf103`` SoC as example, when ``SOC=gd32vf103``,
the SoC source code in **<NUCLEI_SDK_ROOT>/SoC/gd32vf103/Common** will be used.

This documentation just document the open source version of Nuclei SDK's supported SOC and Board.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9cfda9b

Please sign in to comment.