boards: riscv: tlsr9518adk80d: clean-up board documentation

- Fixe reversed UART TX/RX pins info
- Added info about CONFIG_FPU in case of Telink's toolchain

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
This commit is contained in:
Yuriy Vynnychek 2021-08-11 15:36:03 +03:00 committed by Christopher Friedt
commit 59fb8fe970

View file

@ -146,8 +146,8 @@ currently enabled (PORT_B for LEDs control and PORT_C for buttons) in the board
Peripheral's pins on the SoC are mapped to the following GPIO pins in the Peripheral's pins on the SoC are mapped to the following GPIO pins in the
``boards/riscv/tlsr9518adk80d/tlsr9518adk80d.dts`` file: ``boards/riscv/tlsr9518adk80d/tlsr9518adk80d.dts`` file:
- UART0 RX: PB2, TX: PB3 - UART0 TX: PB2, RX: PB3
- UART1 RX: PC6, TX: PC7 - UART1 TX: PC6, RX: PC7
- PWM Channel 0: PB4 - PWM Channel 0: PB4
- PSPI CS0: PC4, CLK: PC5, MISO: PC6, MOSI: PC7 - PSPI CS0: PC4, CLK: PC5, MISO: PC6, MOSI: PC7
- HSPI CS0: PA1, CLK: PA2, MISO: PA3, MOSI: PA4 - HSPI CS0: PA1, CLK: PA2, MISO: PA3, MOSI: PA4
@ -155,8 +155,7 @@ Peripheral's pins on the SoC are mapped to the following GPIO pins in the
Serial Port Serial Port
----------- -----------
The TLSR9518A SoC has 2 UARTs. The Zephyr console output is assigned The TLSR9518A SoC has 2 UARTs. The Zephyr console output is assigned to UART0.
to UART0 in the ``boards/riscv/tlsr9518adk80d/tlsr9518adk80d_defconfig`` file.
The default settings are 115200 8N1. The default settings are 115200 8N1.
Programming and debugging Programming and debugging
@ -174,6 +173,7 @@ the "hello_world" application.
west build -b tlsr9518adk80d samples/hello_world west build -b tlsr9518adk80d samples/hello_world
To use `Telink RISC-V Linux Toolchain`_, ``ZEPHYR_TOOLCHAIN_VARIANT`` and ``CROSS_COMPILE`` variables need to be set. To use `Telink RISC-V Linux Toolchain`_, ``ZEPHYR_TOOLCHAIN_VARIANT`` and ``CROSS_COMPILE`` variables need to be set.
In addition ``CONFIG_FPU=y`` must be selected in ``boards/riscv/tlsr9518adk80d/tlsr9518adk80d_defconfig`` file.
.. code-block:: console .. code-block:: console