boards: arm: ubx_bmd330eval_nrf52810: 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:58 +00:00
committed by Carles Cufi
parent d2c7972a9a
commit df0df9000b
14 changed files with 21 additions and 22 deletions

View File

@@ -1,11 +0,0 @@
# BMD-330-EVAL board configuration
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
if BOARD_UBX_BMD330EVAL_NRF52810
config BOARD
default "ubx_bmd330eval_nrf52810"
endif # BOARD_UBX_BMD330EVAL_NRF52810

View File

@@ -7,7 +7,7 @@ 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_UBX_BMD330EVAL_NRF52810 depends on BOARD_UBX_BMD330EVAL
# BT_CTLR depends on BT. When BT is enabled we should default to also # BT_CTLR depends on BT. When BT is enabled we should default to also
# enabling the controller. # enabling the controller.

View File

@@ -3,6 +3,6 @@
# Copyright (c) 2021 u-blox AG # Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_UBX_BMD330EVAL_NRF52810 if BOARD_UBX_BMD330EVAL
bool "u-blox BMD-330-EVAL"
depends on SOC_NRF52810_QFAA endif # BOARD_UBX_BMD330EVAL

View File

@@ -0,0 +1,9 @@
# BMD-330-EVAL board configuration
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_UBX_BMD330EVAL
bool
default y
select SOC_NRF52810_QFAA

View File

@@ -0,0 +1,5 @@
board:
name: ubx_bmd330eval
vendor: U-blox
socs:
- name: nrf52810

View File

@@ -355,7 +355,7 @@ 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: ubx_bmd330eval_nrf52810 :board: ubx_bmd330eval/nrf52810
:goals: build flash :goals: build flash
Debugging Debugging
@@ -378,7 +378,7 @@ There are 2 samples that allow you to test that the buttons
You can build and flash the examples to make sure Zephyr is You can build and flash the examples to make sure Zephyr is
running correctly on your board. The button and LED definitions running correctly on your board. The button and LED definitions
can be found in :zephyr_file:`boards/arm/ubx_bmd330eval_nrf52810/ubx_bmd330eval_nrf52810.dts`. can be found in :zephyr_file:`boards/ublox/ubx_bmd330eval/ubx_bmd330eval_nrf52810.dts`.
References References
********** **********

View File

@@ -1,4 +1,4 @@
identifier: ubx_bmd330eval_nrf52810 identifier: ubx_bmd330eval/nrf52810
name: UBX_BMD330EVAL_NRF52810 name: UBX_BMD330EVAL_NRF52810
type: mcu type: mcu
arch: arm arch: arm

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2021 u-blox AG # Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52810_QFAA=y
CONFIG_BOARD_UBX_BMD330EVAL_NRF52810=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y