Browse Source

boards: arm: ubx_evkninab3_nrf52840: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
3d4d46698c
  1. 2
      boards/ublox/ubx_evkninab3/Kconfig
  2. 7
      boards/ublox/ubx_evkninab3/Kconfig.defconfig
  3. 7
      boards/ublox/ubx_evkninab3/Kconfig.ubx_evkninab3
  4. 0
      boards/ublox/ubx_evkninab3/board.cmake
  5. 5
      boards/ublox/ubx_evkninab3/board.yml
  6. 0
      boards/ublox/ubx_evkninab3/doc/img/EVK-NINA-B3.jpg
  7. 8
      boards/ublox/ubx_evkninab3/doc/index.rst
  8. 0
      boards/ublox/ubx_evkninab3/pre_dt_board.cmake
  9. 0
      boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840-pinctrl.dtsi
  10. 0
      boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840.dts
  11. 2
      boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840.yaml
  12. 4
      boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840_defconfig

2
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/Kconfig → boards/ublox/ubx_evkninab3/Kconfig

@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC @@ -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

7
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/Kconfig.defconfig → boards/ublox/ubx_evkninab3/Kconfig.defconfig

@ -3,12 +3,9 @@ @@ -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

7
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/Kconfig.board → boards/ublox/ubx_evkninab3/Kconfig.ubx_evkninab3

@ -3,6 +3,7 @@ @@ -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

0
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/board.cmake → boards/ublox/ubx_evkninab3/board.cmake

5
boards/ublox/ubx_evkninab3/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: ubx_evkninab3
vendor: U-blox
socs:
- name: nrf52840

0
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/doc/img/EVK-NINA-B3.jpg → boards/ublox/ubx_evkninab3/doc/img/EVK-NINA-B3.jpg

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

8
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/doc/index.rst → boards/ublox/ubx_evkninab3/doc/index.rst

@ -46,7 +46,7 @@ of 32.768kHz. @@ -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) @@ -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. @@ -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 @@ -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
***********

0
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/pre_dt_board.cmake → boards/ublox/ubx_evkninab3/pre_dt_board.cmake

0
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/ubx_evkninab3_nrf52840-pinctrl.dtsi → boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840-pinctrl.dtsi

0
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/ubx_evkninab3_nrf52840.dts → boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840.dts

2
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/ubx_evkninab3_nrf52840.yaml → boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840.yaml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
identifier: ubx_evkninab3_nrf52840
identifier: ubx_evkninab3/nrf52840
name: UBX-EVKNINAB3-NRF52840
type: mcu
arch: arm

4
boards/boards_legacy/arm/ubx_evkninab3_nrf52840/ubx_evkninab3_nrf52840_defconfig → boards/ublox/ubx_evkninab3/ubx_evkninab3_nrf52840_defconfig

@ -3,10 +3,6 @@ @@ -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
Loading…
Cancel
Save