Browse Source

boards: arm: ubx_evkninab4_nrf52833: 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
7dbb65d371
  1. 2
      boards/ublox/ubx_evkninab4/Kconfig
  2. 7
      boards/ublox/ubx_evkninab4/Kconfig.defconfig
  3. 7
      boards/ublox/ubx_evkninab4/Kconfig.ubx_evkninab4
  4. 0
      boards/ublox/ubx_evkninab4/board.cmake
  5. 5
      boards/ublox/ubx_evkninab4/board.yml
  6. 0
      boards/ublox/ubx_evkninab4/doc/img/EVK-NINA-B406_Top_web.jpg
  7. 8
      boards/ublox/ubx_evkninab4/doc/index.rst
  8. 0
      boards/ublox/ubx_evkninab4/pre_dt_board.cmake
  9. 0
      boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833-pinctrl.dtsi
  10. 0
      boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833.dts
  11. 2
      boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833.yaml
  12. 4
      boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833_defconfig

2
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/Kconfig → boards/ublox/ubx_evkninab4/Kconfig

@ -7,4 +7,4 @@ 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_EVKNINAB4_NRF52833 depends on BOARD_UBX_EVKNINAB4

7
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/Kconfig.defconfig → boards/ublox/ubx_evkninab4/Kconfig.defconfig

@ -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_EVKNINAB4_NRF52833 if BOARD_UBX_EVKNINAB4
config BOARD
default "ubx_evkninab4_nrf52833"
config BT_CTLR config BT_CTLR
default BT default BT
endif # BOARD_UBX_EVKNINAB4_NRF52833 endif # BOARD_UBX_EVKNINAB4

7
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/Kconfig.board → boards/ublox/ubx_evkninab4/Kconfig.ubx_evkninab4

@ -3,6 +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 BOARD_UBX_EVKNINAB4_NRF52833 config BOARD_UBX_EVKNINAB4
bool "u-blox EVK-NINA-B4" bool
depends on SOC_NRF52833_QIAA default y
select SOC_NRF52833_QIAA

0
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/board.cmake → boards/ublox/ubx_evkninab4/board.cmake

5
boards/ublox/ubx_evkninab4/board.yml

@ -0,0 +1,5 @@
board:
name: ubx_evkninab4
vendor: U-blox
socs:
- name: nrf52833

0
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/doc/img/EVK-NINA-B406_Top_web.jpg → boards/ublox/ubx_evkninab4/doc/img/EVK-NINA-B406_Top_web.jpg

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

8
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/doc/index.rst → boards/ublox/ubx_evkninab4/doc/index.rst

@ -36,7 +36,7 @@ found at `NINA-B40 product page`_ and `EVK-NINA-B4 product page`_.
Supported Features Supported Features
================== ==================
The ubx_evkninab4_nrf52833 board configuration supports the following The ubx_evkninab4/nrf52833 board configuration supports the following
hardware features: hardware features:
+-----------+------------+----------------------+ +-----------+------------+----------------------+
@ -108,7 +108,7 @@ modules share the same pinout and can be interchanged, see
Programming and Debugging 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` built and flashed in the usual way (see :ref:`build_an_application`
and :ref:`application_run` for more details); however, the standard and :ref:`application_run` for more details); however, the standard
debugging targets are not currently available. 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-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: ubx_evknina4_nrf52833 :board: ubx_evkninab4/nrf52833
:goals: build flash :goals: build flash
Debugging 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 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 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 Note that the buttons on the EVK-NINA-B4 are marked SW1 and SW2, which
are named sw0 and sw1 in the dts file. are named sw0 and sw1 in the dts file.

0
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/pre_dt_board.cmake → boards/ublox/ubx_evkninab4/pre_dt_board.cmake

0
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/ubx_evkninab4_nrf52833-pinctrl.dtsi → boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833-pinctrl.dtsi

0
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/ubx_evkninab4_nrf52833.dts → boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833.dts

2
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/ubx_evkninab4_nrf52833.yaml → boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833.yaml

@ -1,4 +1,4 @@
identifier: ubx_evkninab4_nrf52833 identifier: ubx_evkninab4/nrf52833
name: EVK-NINA-B4-NRF52833 name: EVK-NINA-B4-NRF52833
type: mcu type: mcu
arch: arm arch: arm

4
boards/boards_legacy/arm/ubx_evkninab4_nrf52833/ubx_evkninab4_nrf52833_defconfig → boards/ublox/ubx_evkninab4/ubx_evkninab4_nrf52833_defconfig

@ -3,10 +3,6 @@
# 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
CONFIG_SOC_NRF52833_QIAA=y
CONFIG_BOARD_UBX_EVKNINAB4_NRF52833=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y
Loading…
Cancel
Save