doc: st: adopt zephyr:board-supported-hw directive

Replace manually authored hardware features table with the new Zephyr
board supported hardware directive which automatically generates an
up-to-date table based on the boards' Devicetree.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-03-05 12:01:02 +01:00 committed by Fabio Baltieri
commit 13eb01264c
4 changed files with 10 additions and 35 deletions

View file

@ -31,6 +31,8 @@ on a smartphone/PC to implement applications such as:
(see `Motion and environmental sensors`_ section for the complete lists of available
sensors on board)
.. zephyr:board-supported-hw::
Hardware
********

View file

@ -66,6 +66,11 @@ Default Zephyr Peripheral Mapping
- GPIO : PE15/PE7 (Available on external ST25DV connector J6)
- GPIO : PE14 (Available on J5 connector)
Supported Features
==================
.. zephyr:board-supported-hw::
Serial Port
===========

View file

@ -31,6 +31,8 @@ NFC or USB protocols to a host application running on a smartphone/PC to impleme
(see `Sensing`_ section for the complete lists of available
sensors on board)
.. zephyr:board-supported-hw::
Hardware
********

View file

@ -25,41 +25,7 @@ More information about STM32L4R9 can be found here:
Supported Features
==================
The current Zephyr stm32l4r9i_disco board configuration supports the following hardware features:
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port-polling |
+-----------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+-----------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
| FLASH | on-chip | on-chip flash memory; |
| | | external OctoSPI memory |
+-----------+------------+-------------------------------------+
| ADC | on-chip | ADC Controller |
+-----------+------------+-------------------------------------+
| RTC | on-chip | Real Time Clock |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| SDMMC | on-chip | sd/mmc |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on Zephyr porting.
The default configuration can be found in the defconfig file:
:zephyr_file:`boards/st/stm32l4r9i_disco/stm32l4r9i_disco_defconfig`
.. zephyr:board-supported-hw::
Pin Mapping
===========