boards: arm: ubx_bmd340eval_nrf52840: 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
7186432662
commit
f7fb2030c7
@@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
|
||||
bool "DCDC mode"
|
||||
select SOC_DCDC_NRF52X
|
||||
default y
|
||||
depends on BOARD_UBX_BMD340EVAL_NRF52840
|
||||
depends on BOARD_UBX_BMD340EVAL
|
||||
@@ -3,12 +3,9 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_UBX_BMD340EVAL_NRF52840
|
||||
|
||||
config BOARD
|
||||
default "ubx_bmd340eval_nrf52840"
|
||||
if BOARD_UBX_BMD340EVAL
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_UBX_BMD340EVAL_NRF52840
|
||||
endif # BOARD_UBX_BMD340EVAL
|
||||
@@ -3,6 +3,7 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UBX_BMD340EVAL_NRF52840
|
||||
bool "u-blox BMD-340-EVAL"
|
||||
depends on SOC_NRF52840_QIAA
|
||||
config BOARD_UBX_BMD340EVAL
|
||||
bool
|
||||
default y
|
||||
select SOC_NRF52840_QIAA
|
||||
5
boards/ublox/ubx_bmd340eval/board.yml
Normal file
5
boards/ublox/ubx_bmd340eval/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: ubx_bmd340eval
|
||||
vendor: U-blox
|
||||
socs:
|
||||
- name: nrf52840
|
||||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
@@ -424,7 +424,7 @@ Then build and flash the application in the usual way.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: ubx_bmd340eval_nrf52840
|
||||
:board: ubx_bmd340eval/nrf52840
|
||||
:goals: build flash
|
||||
|
||||
Debugging
|
||||
@@ -448,7 +448,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_bmd340eval_nrf52840/ubx_bmd340eval_nrf52840.dts`.
|
||||
:zephyr_file:`boards/ublox/ubx_bmd340eval/ubx_bmd340eval_nrf52840.dts`.
|
||||
|
||||
Using UART1
|
||||
***********
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: ubx_bmd340eval_nrf52840
|
||||
identifier: ubx_bmd340eval/nrf52840
|
||||
name: UBX_BMD340EVAL_NRF52840
|
||||
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_NRF52840_QIAA=y
|
||||
CONFIG_BOARD_UBX_BMD340EVAL_NRF52840=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user