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:
committed by
Carles Cufi
parent
d2c7972a9a
commit
df0df9000b
@@ -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
|
||||
@@ -7,7 +7,7 @@ config BOARD_ENABLE_DCDC
|
||||
bool "DCDC mode"
|
||||
select SOC_DCDC_NRF52X
|
||||
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
|
||||
# enabling the controller.
|
||||
@@ -3,6 +3,6 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UBX_BMD330EVAL_NRF52810
|
||||
bool "u-blox BMD-330-EVAL"
|
||||
depends on SOC_NRF52810_QFAA
|
||||
if BOARD_UBX_BMD330EVAL
|
||||
|
||||
endif # BOARD_UBX_BMD330EVAL
|
||||
9
boards/ublox/ubx_bmd330eval/Kconfig.ubx_bmd330eval
Normal file
9
boards/ublox/ubx_bmd330eval/Kconfig.ubx_bmd330eval
Normal 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
|
||||
5
boards/ublox/ubx_bmd330eval/board.yml
Normal file
5
boards/ublox/ubx_bmd330eval/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: ubx_bmd330eval
|
||||
vendor: U-blox
|
||||
socs:
|
||||
- name: nrf52810
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
@@ -355,7 +355,7 @@ Then build and flash the application in the usual way.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: ubx_bmd330eval_nrf52810
|
||||
:board: ubx_bmd330eval/nrf52810
|
||||
:goals: build flash
|
||||
|
||||
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
|
||||
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
|
||||
**********
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: ubx_bmd330eval_nrf52810
|
||||
identifier: ubx_bmd330eval/nrf52810
|
||||
name: UBX_BMD330EVAL_NRF52810
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -3,10 +3,6 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_NRF52X=y
|
||||
CONFIG_SOC_NRF52810_QFAA=y
|
||||
CONFIG_BOARD_UBX_BMD330EVAL_NRF52810=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user