boards: arm: ubx_bmd380eval_nrf52840: 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:02 +00:00
committed by Carles Cufi
parent 9f9897c872
commit b1afbf0158
13 changed files with 19 additions and 20 deletions

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ENABLE_DCDC
bool "DCDC mode"
select SOC_DCDC_NRF52X
default y
depends on BOARD_UBX_BMD380EVAL_NRF52840
bool "DCDC mode"
select SOC_DCDC_NRF52X
default y
depends on BOARD_UBX_BMD380EVAL

View File

@@ -3,12 +3,9 @@
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
if BOARD_UBX_BMD380EVAL_NRF52840
config BOARD
default "ubx_bmd380eval_nrf52840"
if BOARD_UBX_BMD380EVAL
config BT_CTLR
default BT
endif # BOARD_UBX_BMD380EVAL_NRF52840
endif # BOARD_UBX_BMD380EVAL

View File

@@ -3,9 +3,10 @@
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_UBX_BMD380EVAL_NRF52840
bool "u-blox BMD-380-EVAL"
depends on SOC_NRF52840_QIAA
config BOARD_UBX_BMD380EVAL
bool
default y
select SOC_NRF52840_QIAA
# should be CKAA,
# but SOC file not yet available from Nordic Semiconductor

View File

@@ -0,0 +1,5 @@
board:
name: ubx_bmd380eval
vendor: U-blox
socs:
- name: nrf52840

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -422,7 +422,7 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: ubx_bmd380eval_nrf52840
:board: ubx_bmd380eval/nrf52840
:goals: build flash
Debugging
@@ -444,9 +444,8 @@ There are 2 samples that allow you to test that the buttons
samples/basic/button
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_bmd340eval_nrf52840/ubx_bmd340eval_nrf52840.dts`.
correctly on your board. The button and LED definitions can be found in
:zephyr_file:`boards/ublox/ubx_bmd340eval/ubx_bmd340eval_nrf52840.dts`.
Using UART1
***********

View File

@@ -1,4 +1,4 @@
identifier: ubx_bmd380eval_nrf52840
identifier: ubx_bmd380eval/nrf52840
name: UBX_BMD380EVAL_NRF52840
type: mcu
arch: arm

View File

@@ -3,10 +3,7 @@
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
# should be CKAA, but not available yet from Nordic Semiconductor
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_UBX_BMD380EVAL_NRF52840=y
# Enable hardware stack protection
CONFIG_HW_STACK_PROTECTION=y