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:
committed by
Carles Cufi
parent
9f9897c872
commit
b1afbf0158
@@ -4,7 +4,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_ENABLE_DCDC
|
config BOARD_ENABLE_DCDC
|
||||||
bool "DCDC mode"
|
bool "DCDC mode"
|
||||||
select SOC_DCDC_NRF52X
|
select SOC_DCDC_NRF52X
|
||||||
default y
|
default y
|
||||||
depends on BOARD_UBX_BMD380EVAL_NRF52840
|
depends on BOARD_UBX_BMD380EVAL
|
||||||
@@ -3,12 +3,9 @@
|
|||||||
# Copyright (c) 2021 u-blox AG
|
# Copyright (c) 2021 u-blox AG
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if BOARD_UBX_BMD380EVAL_NRF52840
|
if BOARD_UBX_BMD380EVAL
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "ubx_bmd380eval_nrf52840"
|
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
default BT
|
default BT
|
||||||
|
|
||||||
endif # BOARD_UBX_BMD380EVAL_NRF52840
|
endif # BOARD_UBX_BMD380EVAL
|
||||||
@@ -3,9 +3,10 @@
|
|||||||
# Copyright (c) 2021 u-blox AG
|
# Copyright (c) 2021 u-blox AG
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_UBX_BMD380EVAL_NRF52840
|
config BOARD_UBX_BMD380EVAL
|
||||||
bool "u-blox BMD-380-EVAL"
|
bool
|
||||||
depends on SOC_NRF52840_QIAA
|
default y
|
||||||
|
select SOC_NRF52840_QIAA
|
||||||
|
|
||||||
# should be CKAA,
|
# should be CKAA,
|
||||||
# but SOC file not yet available from Nordic Semiconductor
|
# but SOC file not yet available from Nordic Semiconductor
|
||||||
5
boards/ublox/ubx_bmd380eval/board.yml
Normal file
5
boards/ublox/ubx_bmd380eval/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: ubx_bmd380eval
|
||||||
|
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 |
@@ -422,7 +422,7 @@ Then build and flash the application in the usual way.
|
|||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/hello_world
|
:zephyr-app: samples/hello_world
|
||||||
:board: ubx_bmd380eval_nrf52840
|
:board: ubx_bmd380eval/nrf52840
|
||||||
:goals: build flash
|
:goals: build flash
|
||||||
|
|
||||||
Debugging
|
Debugging
|
||||||
@@ -444,9 +444,8 @@ There are 2 samples that allow you to test that the buttons
|
|||||||
samples/basic/button
|
samples/basic/button
|
||||||
|
|
||||||
You can build and flash the examples to make sure Zephyr is running
|
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
|
correctly on your board. The button and LED definitions can be found in
|
||||||
in
|
:zephyr_file:`boards/ublox/ubx_bmd340eval/ubx_bmd340eval_nrf52840.dts`.
|
||||||
:zephyr_file:`boards/arm/ubx_bmd340eval_nrf52840/ubx_bmd340eval_nrf52840.dts`.
|
|
||||||
|
|
||||||
Using UART1
|
Using UART1
|
||||||
***********
|
***********
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
identifier: ubx_bmd380eval_nrf52840
|
identifier: ubx_bmd380eval/nrf52840
|
||||||
name: UBX_BMD380EVAL_NRF52840
|
name: UBX_BMD380EVAL_NRF52840
|
||||||
type: mcu
|
type: mcu
|
||||||
arch: arm
|
arch: arm
|
||||||
@@ -3,10 +3,7 @@
|
|||||||
# Copyright (c) 2021 u-blox AG
|
# Copyright (c) 2021 u-blox AG
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_NRF52X=y
|
|
||||||
# should be CKAA, but not available yet from Nordic Semiconductor
|
# 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
|
# Enable hardware stack protection
|
||||||
CONFIG_HW_STACK_PROTECTION=y
|
CONFIG_HW_STACK_PROTECTION=y
|
||||||
Reference in New Issue
Block a user