Browse Source

boards: arm: raytac_mdbt50q_db_33_nrf52833: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
5e79cb957d
  1. 2
      boards/raytac/raytac_mdbt50q_db_33/Kconfig
  2. 7
      boards/raytac/raytac_mdbt50q_db_33/Kconfig.defconfig
  3. 7
      boards/raytac/raytac_mdbt50q_db_33/Kconfig.raytac_mdbt50q_db_33
  4. 0
      boards/raytac/raytac_mdbt50q_db_33/board.cmake
  5. 5
      boards/raytac/raytac_mdbt50q_db_33/board.yml
  6. 0
      boards/raytac/raytac_mdbt50q_db_33/doc/img/mdbt50q_db_33.jpg
  7. 14
      boards/raytac/raytac_mdbt50q_db_33/doc/index.rst
  8. 0
      boards/raytac/raytac_mdbt50q_db_33/pre_dt_board.cmake
  9. 0
      boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833-pinctrl.dtsi
  10. 0
      boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.dts
  11. 2
      boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.yaml
  12. 4
      boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833_defconfig

2
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/Kconfig → boards/raytac/raytac_mdbt50q_db_33/Kconfig

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

7
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/Kconfig.defconfig → boards/raytac/raytac_mdbt50q_db_33/Kconfig.defconfig

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

7
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/Kconfig.board → boards/raytac/raytac_mdbt50q_db_33/Kconfig.raytac_mdbt50q_db_33

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

0
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/board.cmake → boards/raytac/raytac_mdbt50q_db_33/board.cmake

5
boards/raytac/raytac_mdbt50q_db_33/board.yml

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

0
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/doc/img/mdbt50q_db_33.jpg → boards/raytac/raytac_mdbt50q_db_33/doc/img/mdbt50q_db_33.jpg

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

14
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/doc/index.rst → boards/raytac/raytac_mdbt50q_db_33/doc/index.rst

@ -59,7 +59,7 @@ Hardware
Supported Features 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: hardware features:
+-----------+------------+----------------------+ +-----------+------------+----------------------+
@ -129,12 +129,12 @@ UART
Programming and Debugging 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 built, flashed, and debugged in the usual way. See :ref:`build_an_application` and
:ref:`application_run` for more details on building and running. :ref:`application_run` for more details on building and running.
.. note:: .. 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 requires an external J-Link programmer. The programmer is attached to the J1
or J9 SWD connector. 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. 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. J10 connector. Then run your favorite terminal program to listen for output.
.. code-block:: console .. code-block:: console
@ -163,13 +163,13 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: raytac_mdbt50q_db_33_nrf52833 :board: raytac_mdbt50q_db_33/nrf52833
:goals: build flash :goals: build flash
Debugging 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. 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 Use the Debug out connector of nRF52x DK to connect to the J1 connector, and use SEGGER
J-Link OB IF to debug. 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 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 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 Selecting the pins
================== ==================

0
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/pre_dt_board.cmake → boards/raytac/raytac_mdbt50q_db_33/pre_dt_board.cmake

0
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/raytac_mdbt50q_db_33_nrf52833-pinctrl.dtsi → boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833-pinctrl.dtsi

0
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/raytac_mdbt50q_db_33_nrf52833.dts → boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.dts

2
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/raytac_mdbt50q_db_33_nrf52833.yaml → boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833.yaml

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

4
boards/boards_legacy/arm/raytac_mdbt50q_db_33_nrf52833/raytac_mdbt50q_db_33_nrf52833_defconfig → boards/raytac/raytac_mdbt50q_db_33/raytac_mdbt50q_db_33_nrf52833_defconfig

@ -3,10 +3,6 @@
# Copyright (c) 2022 Raytac Corporation # Copyright (c) 2022 Raytac Corporation
# SPDX-License-Identifier: Apache-2.0 # 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 # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y
Loading…
Cancel
Save