boards: arm: ubx_bmd360eval_nrf52811: 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
cc1a30f24b
commit
d632b90043
@@ -1,11 +0,0 @@
|
||||
# BMD-360-EVAL board configuration
|
||||
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_UBX_BMD360EVAL_NRF52811
|
||||
|
||||
config BOARD
|
||||
default "ubx_bmd360eval_nrf52811"
|
||||
|
||||
endif # BOARD_UBX_BMD360EVAL_NRF52811
|
||||
@@ -7,7 +7,8 @@ config BOARD_ENABLE_DCDC
|
||||
bool "DCDC mode"
|
||||
select SOC_DCDC_NRF52X
|
||||
default y
|
||||
depends on BOARD_UBX_BMD360EVAL_NRF52811
|
||||
depends on BOARD_UBX_BMD360EVAL
|
||||
|
||||
# BT_CTLR depends on BT. When BT is enabled we should default to also
|
||||
# enabling the controller.
|
||||
config BT_CTLR
|
||||
@@ -3,6 +3,6 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UBX_BMD360EVAL_NRF52811
|
||||
bool "u-blox BMD-360-EVAL"
|
||||
depends on SOC_NRF52811_QFAA
|
||||
if BOARD_UBX_BMD360EVAL
|
||||
|
||||
endif # BOARD_UBX_BMD360EVAL
|
||||
9
boards/ublox/ubx_bmd360eval/Kconfig.ubx_bmd360eval
Normal file
9
boards/ublox/ubx_bmd360eval/Kconfig.ubx_bmd360eval
Normal file
@@ -0,0 +1,9 @@
|
||||
# BMD-360-EVAL board configuration
|
||||
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UBX_BMD360EVAL
|
||||
bool
|
||||
default y
|
||||
select SOC_NRF52811_QFAA
|
||||
5
boards/ublox/ubx_bmd360eval/board.yml
Normal file
5
boards/ublox/ubx_bmd360eval/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: ubx_bmd360eval
|
||||
vendor: U-blox
|
||||
socs:
|
||||
- name: nrf52811
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
@@ -353,7 +353,7 @@ Then build and flash the application in the usual way.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: ubx_bmd360eval_nrf52811
|
||||
:board: ubx_bmd360eval/nrf52811
|
||||
:goals: build flash
|
||||
|
||||
Debugging
|
||||
@@ -376,7 +376,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_bmd360eval_nrf52811/ubx_bmd360eval_nrf52811.dts`.
|
||||
can be found in :zephyr_file:`boards/ublox/ubx_bmd360eval/ubx_bmd360eval_nrf52811.dts`.
|
||||
|
||||
References
|
||||
**********
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: ubx_bmd360eval_nrf52811
|
||||
identifier: ubx_bmd360eval/nrf52811
|
||||
name: UBX_BMD360EVAL_NRF52811
|
||||
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_NRF52811_QFAA=y
|
||||
CONFIG_BOARD_UBX_BMD360EVAL_NRF52811=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user