boards: arm: ubx_evkninab3_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
b1afbf0158
commit
3d4d46698c
@@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
|
||||
bool "DCDC mode"
|
||||
select SOC_DCDC_NRF52X
|
||||
default y
|
||||
depends on BOARD_UBX_EVKNINAB3_NRF52840
|
||||
depends on BOARD_UBX_EVKNINAB3
|
||||
@@ -3,12 +3,9 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_UBX_EVKNINAB3_NRF52840
|
||||
|
||||
config BOARD
|
||||
default "ubx_evkninab3_nrf52840"
|
||||
if BOARD_UBX_EVKNINAB3
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_UBX_EVKNINAB3_NRF52840
|
||||
endif # BOARD_UBX_EVKNINAB3
|
||||
@@ -3,6 +3,7 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UBX_EVKNINAB3_NRF52840
|
||||
bool "u-blox EVK-NINA-B3"
|
||||
depends on SOC_NRF52840_QIAA
|
||||
config BOARD_UBX_EVKNINAB3
|
||||
bool
|
||||
default y
|
||||
select SOC_NRF52840_QIAA
|
||||
5
boards/ublox/ubx_evkninab3/board.yml
Normal file
5
boards/ublox/ubx_evkninab3/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: ubx_evkninab3
|
||||
vendor: U-blox
|
||||
socs:
|
||||
- name: nrf52840
|
||||
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
@@ -46,7 +46,7 @@ of 32.768kHz.
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
The ubx_evkninab3_nrf52840 board configuration supports the following
|
||||
The ubx_evkninab3/nrf52840 board configuration supports the following
|
||||
hardware features:
|
||||
|
||||
+-----------+------------+----------------------+
|
||||
@@ -209,7 +209,7 @@ Digital I/O (J4)
|
||||
Programming and Debugging
|
||||
*************************
|
||||
|
||||
Applications for the ``ubx_evkninab3_nrf52840`` board configuration can be
|
||||
Applications for the ``ubx_evkninab3/nrf52840`` board configuration can be
|
||||
built and flashed in the usual way (see :ref:`build_an_application`
|
||||
and :ref:`application_run` for more details); however, the standard
|
||||
debugging targets are not currently available.
|
||||
@@ -238,7 +238,7 @@ Then build and flash the application in the usual way.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: ubx_evkninab3_nrf52840
|
||||
:board: ubx_evkninab3/nrf52840
|
||||
:goals: build flash
|
||||
|
||||
Debugging
|
||||
@@ -261,7 +261,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_evkninab3_nrf52840/ubx_ninab3_nrf52840.dts`.
|
||||
:zephyr_file:`boards/ublox/ubx_evkninab3/ubx_ninab3_nrf52840.dts`.
|
||||
|
||||
Using UART1
|
||||
***********
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: ubx_evkninab3_nrf52840
|
||||
identifier: ubx_evkninab3/nrf52840
|
||||
name: UBX-EVKNINAB3-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_EVKNINAB3_NRF52840=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user