boards: arm: raytac_mdbt50q_db_33_nrf52833: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:37:59 +00:00
committed by Carles Cufi
parent 12bd83a218
commit 5e79cb957d
12 changed files with 20 additions and 21 deletions

View File

@@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
bool "DCDC mode"
select SOC_DCDC_NRF52X
default y
depends on BOARD_RAYTAC_MDBT50Q_DB_33_NRF52833
depends on BOARD_RAYTAC_MDBT50Q_DB_33

View File

@@ -3,12 +3,9 @@
# Copyright (c) 2022 Raytac Corporation
# SPDX-License-Identifier: Apache-2.0
if BOARD_RAYTAC_MDBT50Q_DB_33_NRF52833
config BOARD
default "raytac_mdbt50q_db_33_nrf52833"
if BOARD_RAYTAC_MDBT50Q_DB_33
config BT_CTLR
default BT
endif
endif # BOARD_RAYTAC_MDBT50Q_DB_33

View File

@@ -3,6 +3,7 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_RAYTAC_MDBT50Q_DB_33_NRF52833
bool "Raytac MDBT50Q-DB-33 nRF52833"
depends on SOC_NRF52833_QIAA
config BOARD_RAYTAC_MDBT50Q_DB_33
bool
default y
select SOC_NRF52833_QIAA

View File

@@ -0,0 +1,5 @@
board:
name: raytac_mdbt50q_db_33
vendor: Raytac Corporation
socs:
- name: nrf52833

View File

@@ -59,7 +59,7 @@ Hardware
Supported Features
==================
The raytac_mdbt50q_db_33_nrf52833 board configuration supports the following
The raytac_mdbt50q_db_33/nrf52833 board configuration supports the following
hardware features:
+-----------+------------+----------------------+
@@ -129,12 +129,12 @@ UART
Programming and Debugging
*************************
Applications for the ``raytac_mdbt50q_db_33_nrf52833`` board configuration can be
Applications for the ``raytac_mdbt50q_db_33/nrf52833`` board configuration can be
built, flashed, and debugged in the usual way. See :ref:`build_an_application` and
:ref:`application_run` for more details on building and running.
.. note::
Flashing and Debugging Zephyr onto the raytac_mdbt50q_db_33_nrf52833 board
Flashing and Debugging Zephyr onto the raytac_mdbt50q_db_33/nrf52833 board
requires an external J-Link programmer. The programmer is attached to the J1
or J9 SWD connector.
@@ -149,7 +149,7 @@ applications as usual (see :ref:`build_an_application` and
Here is an example for the :ref:`hello_world` application.
Use a USB to TTL converter to connect the computer and raytac_mdbt50q_db_33_nrf52833
Use a USB to TTL converter to connect the computer and raytac_mdbt50q_db_33/nrf52833
J10 connector. Then run your favorite terminal program to listen for output.
.. code-block:: console
@@ -163,13 +163,13 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: raytac_mdbt50q_db_33_nrf52833
:board: raytac_mdbt50q_db_33/nrf52833
:goals: build flash
Debugging
=========
The ``raytac_mdbt50q_db_33_nrf52833`` board does not have an on-board-J-Link debug IC,
The ``raytac_mdbt50q_db_33/nrf52833`` board does not have an on-board-J-Link debug IC,
however, instructions from the :ref:`nordic_segger` page also apply to this board.
Use the Debug out connector of nRF52x DK to connect to the J1 connector, and use SEGGER
J-Link OB IF to debug.
@@ -187,7 +187,7 @@ the board are working properly with Zephyr:
You can build and flash the examples to make sure Zephyr is running correctly on
your board. The button and LED definitions can be found in
:zephyr_file:`boards/arm/raytac_mdbt50q_db_33_nrf52833/raytac_mdbt50q_db_33_nrf52833.dts`.
:zephyr_file:`boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.dts`.
Selecting the pins
==================

View File

@@ -1,7 +1,7 @@
# Copyright (c) 2022 Raytac Corporation
# SPDX-License-Identifier: Apache-2.0
identifier: raytac_mdbt50q_db_33_nrf52833
identifier: raytac_mdbt50q_db_33/nrf52833
name: Raytac MDBT50Q-DB-33 nRF52833
type: mcu
arch: arm

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2022 Raytac Corporation
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52833_QIAA=y
CONFIG_BOARD_RAYTAC_MDBT50Q_DB_33_NRF52833=y
# Enable MPU
CONFIG_ARM_MPU=y