boards: arm: ubx_bmd300eval_nrf52832: 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:38:06 +00:00
committed by Carles Cufi
parent d0d434bf86
commit a646d3f2d5
14 changed files with 22 additions and 25 deletions

View File

@@ -1,14 +0,0 @@
# BMD-300-EVAL, BMD-301-EVAL, and BMD-350-EVAL board configuration
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
if BOARD_UBX_BMD300EVAL_NRF52832
config BOARD
default "ubx_bmd300eval_nrf52832"
config BT_CTLR
default BT
endif # BOARD_UBX_BMD300EVAL_NRF52832

View File

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

View File

@@ -3,6 +3,9 @@
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_UBX_BMD300EVAL_NRF52832
bool "u-blox BMD-300-EVAL"
depends on SOC_NRF52832_QFAA
if BOARD_UBX_BMD300EVAL
config BT_CTLR
default BT
endif # BOARD_UBX_BMD300EVAL

View File

@@ -0,0 +1,7 @@
# BMD-300-EVAL, BMD-301-EVAL, and BMD-350-EVAL board configuration
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_UBX_BMD300EVAL
select SOC_NRF52832_QFAA

View File

@@ -0,0 +1,5 @@
board:
name: ubx_bmd300eval
vendor: U-blox
socs:
- name: nrf52832

View File

@@ -364,7 +364,7 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: ubx_bmd300eval_nrf52832
:board: ubx_bmd300eval/nrf52832
:goals: build flash
Debugging
@@ -387,7 +387,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
running correctly on your board. The button and LED definitions
can be found in :zephyr_file:`boards/arm/ubx_bmd300eval_nrf52832/ubx_bmd300eval_nrf52832.dts`.
can be found in :zephyr_file:`boards/ublox/ubx_bmd300eval/ubx_bmd300eval_nrf52832.dts`.
References
**********

View File

@@ -1,4 +1,4 @@
identifier: ubx_bmd300eval_nrf52832
identifier: ubx_bmd300eval/nrf52832
name: UBX_BMD300EVAL_NRF52832
type: mcu
arch: arm

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52832_QFAA=y
CONFIG_BOARD_UBX_BMD300EVAL_NRF52832=y
# Enable MPU
CONFIG_ARM_MPU=y