Skip to content

Commit

Permalink
boards: bbc: adopt zephyr:board-supported-hw Sphinx directive
Browse files Browse the repository at this point in the history
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é <[email protected]>
  • Loading branch information
kartben authored and nashif committed Feb 13, 2025
1 parent dec9f86 commit f0a1f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 45 deletions.
27 changes: 1 addition & 26 deletions boards/bbc/microbit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ magnetometer sensors, Bluetooth and USB connectivity, a display consisting of
external battery pack. The device inputs and outputs are through five ring
connectors that are part of the 23-pin edge connector.

* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
* :abbr:`RTC (nRF RTC System Clock)`
* UART
* GPIO
* FLASH
* RADIO (Bluetooth Low Energy)

More information about the board can be found at the `microbit website`_.

Hardware
Expand All @@ -39,25 +32,7 @@ The micro:bit has the following physical features:
Supported Features
==================

The bbc_microbit board configuration supports the following nRF51
hardware features:

+-----------+------------+----------------------+
| Interface | Controller | Driver/Component |
+===========+============+======================+
| NVIC | on-chip | nested vectored |
| | | interrupt controller |
+-----------+------------+----------------------+
| RTC | on-chip | system clock |
+-----------+------------+----------------------+
| UART | on-chip | serial port |
+-----------+------------+----------------------+
| GPIO | on-chip | gpio |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
| RADIO | on-chip | Bluetooth |
+-----------+------------+----------------------+
.. zephyr:board-supported-hw::
Programming and Debugging
*************************
Expand Down
20 changes: 1 addition & 19 deletions boards/bbc/microbit_v2/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,7 @@ The micro:bit-v2 has the following physical features:
Supported Features
==================

The bbc_microbit_v2 board configuration supports the following
hardware features:

+-----------+------------+----------------------+
| Interface | Controller | Driver/Component |
+===========+============+======================+
| NVIC | on-chip | nested vectored |
| | | interrupt controller |
+-----------+------------+----------------------+
| RTC | on-chip | system clock |
+-----------+------------+----------------------+
| UART | on-chip | serial port |
+-----------+------------+----------------------+
| GPIO | on-chip | gpio |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
| RADIO | on-chip | Bluetooth |
+-----------+------------+----------------------+
.. zephyr:board-supported-hw::
Programming and Debugging
*************************
Expand Down

0 comments on commit f0a1f5d

Please sign in to comment.