boards: arm: ubx_evkninab4_nrf52833: 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
5e79cb957d
commit
7dbb65d371
@@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
|
||||
bool "DCDC mode"
|
||||
select SOC_DCDC_NRF52X
|
||||
default y
|
||||
depends on BOARD_UBX_EVKNINAB4_NRF52833
|
||||
depends on BOARD_UBX_EVKNINAB4
|
||||
@@ -3,12 +3,9 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_UBX_EVKNINAB4_NRF52833
|
||||
|
||||
config BOARD
|
||||
default "ubx_evkninab4_nrf52833"
|
||||
if BOARD_UBX_EVKNINAB4
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_UBX_EVKNINAB4_NRF52833
|
||||
endif # BOARD_UBX_EVKNINAB4
|
||||
@@ -3,6 +3,7 @@
|
||||
# Copyright (c) 2021 u-blox AG
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_UBX_EVKNINAB4_NRF52833
|
||||
bool "u-blox EVK-NINA-B4"
|
||||
depends on SOC_NRF52833_QIAA
|
||||
config BOARD_UBX_EVKNINAB4
|
||||
bool
|
||||
default y
|
||||
select SOC_NRF52833_QIAA
|
||||
5
boards/ublox/ubx_evkninab4/board.yml
Normal file
5
boards/ublox/ubx_evkninab4/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: ubx_evkninab4
|
||||
vendor: U-blox
|
||||
socs:
|
||||
- name: nrf52833
|
||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
@@ -36,7 +36,7 @@ found at `NINA-B40 product page`_ and `EVK-NINA-B4 product page`_.
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
The ubx_evkninab4_nrf52833 board configuration supports the following
|
||||
The ubx_evkninab4/nrf52833 board configuration supports the following
|
||||
hardware features:
|
||||
|
||||
+-----------+------------+----------------------+
|
||||
@@ -108,7 +108,7 @@ modules share the same pinout and can be interchanged, see
|
||||
Programming and Debugging
|
||||
*************************
|
||||
|
||||
Applications for the ``ubx_evkninab4_nrf52833`` board configuration can be
|
||||
Applications for the ``ubx_evkninab4/nrf52833`` 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.
|
||||
@@ -130,7 +130,7 @@ Then build and flash the application in the usual way.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: ubx_evknina4_nrf52833
|
||||
:board: ubx_evkninab4/nrf52833
|
||||
:goals: build flash
|
||||
|
||||
Debugging
|
||||
@@ -153,7 +153,7 @@ and LEDs on the board are working properly with Zephyr:
|
||||
|
||||
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_evkninab4_nrf52833/ubx_evkninab4_nrf52833.dts`.
|
||||
:zephyr_file:`boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833.dts`.
|
||||
|
||||
Note that the buttons on the EVK-NINA-B4 are marked SW1 and SW2, which
|
||||
are named sw0 and sw1 in the dts file.
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: ubx_evkninab4_nrf52833
|
||||
identifier: ubx_evkninab4/nrf52833
|
||||
name: EVK-NINA-B4-NRF52833
|
||||
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_NRF52833_QIAA=y
|
||||
CONFIG_BOARD_UBX_EVKNINAB4_NRF52833=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user