Browse Source

boards: arm: ubx_evkannab1_nrf52832: 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
433db339f9
  1. 14
      boards/boards_legacy/arm/ubx_evkannab1_nrf52832/Kconfig.defconfig
  2. 2
      boards/ublox/ubx_evkannab1/Kconfig
  3. 9
      boards/ublox/ubx_evkannab1/Kconfig.defconfig
  4. 7
      boards/ublox/ubx_evkannab1/Kconfig.ubx_evkannab1
  5. 0
      boards/ublox/ubx_evkannab1/board.cmake
  6. 5
      boards/ublox/ubx_evkannab1/board.yml
  7. 0
      boards/ublox/ubx_evkannab1/doc/img/EVK-ANNA-B112.jpg
  8. 6
      boards/ublox/ubx_evkannab1/doc/index.rst
  9. 0
      boards/ublox/ubx_evkannab1/pre_dt_board.cmake
  10. 0
      boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832-pinctrl.dtsi
  11. 0
      boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832.dts
  12. 2
      boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832.yaml
  13. 4
      boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832_defconfig

14
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/Kconfig.defconfig

@ -1,14 +0,0 @@
# u-blox EVK-ANNA-B1 board configuration
#
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
if BOARD_UBX_EVKANNAB1_NRF52832
config BOARD
default "ubx_evkannab1_nrf52832"
config BT_CTLR
default BT
endif # BOARD_UBX_EVKANNAB1_NRF52832

2
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/Kconfig → boards/ublox/ubx_evkannab1/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_EVKANNAB1_NRF52832 depends on BOARD_UBX_EVKANNAB1

9
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/Kconfig.board → boards/ublox/ubx_evkannab1/Kconfig.defconfig

@ -3,6 +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
config BOARD_UBX_EVKANNAB1_NRF52832 if BOARD_UBX_EVKANNAB1
bool "u-blox EVK-ANNA-B1"
depends on SOC_NRF52832_QFAA config BT_CTLR
default BT
endif # BOARD_UBX_EVKANNAB1

7
boards/ublox/ubx_evkannab1/Kconfig.ubx_evkannab1

@ -0,0 +1,7 @@
# u-blox EVK-ANNA-B1 board configuration
#
# Copyright (c) 2021 u-blox AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_UBX_EVKANNAB1
select SOC_NRF52832_QFAA

0
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/board.cmake → boards/ublox/ubx_evkannab1/board.cmake

5
boards/ublox/ubx_evkannab1/board.yml

@ -0,0 +1,5 @@
board:
name: ubx_evkannab1
vendor: U-blox
socs:
- name: nrf52832

0
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/doc/img/EVK-ANNA-B112.jpg → boards/ublox/ubx_evkannab1/doc/img/EVK-ANNA-B112.jpg

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

6
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/doc/index.rst → boards/ublox/ubx_evkannab1/doc/index.rst

@ -105,7 +105,7 @@ modules share the same pinout and can be interchanged.
Programming and Debugging Programming and Debugging
************************* *************************
Applications for the ``ubx_evkannab1_nrf52832`` board configuration can be Applications for the ``ubx_evkannab1/nrf52832`` 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.
@ -127,7 +127,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_evkannab1_nrf52832 :board: ubx_evkannab1/nrf52832
:goals: build flash :goals: build flash
Debugging Debugging
@ -150,7 +150,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_evkannab1_nrf52832/ubx_evkannab1_nrf52832.dts`. :zephyr_file:`boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832.dts`.
Note that the buttons on the EVK-ANNA-B1 are marked SW1 and SW2, which Note that the buttons on the EVK-ANNA-B1 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_evkannab1_nrf52832/pre_dt_board.cmake → boards/ublox/ubx_evkannab1/pre_dt_board.cmake

0
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/ubx_evkannab1_nrf52832-pinctrl.dtsi → boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832-pinctrl.dtsi

0
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/ubx_evkannab1_nrf52832.dts → boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832.dts

2
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/ubx_evkannab1_nrf52832.yaml → boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832.yaml

@ -1,4 +1,4 @@
identifier: ubx_evkannab1_nrf52832 identifier: ubx_evkannab1/nrf52832
name: UBX-EVKANNAB1-NRF52832 name: UBX-EVKANNAB1-NRF52832
type: mcu type: mcu
arch: arm arch: arm

4
boards/boards_legacy/arm/ubx_evkannab1_nrf52832/ubx_evkannab1_nrf52832_defconfig → boards/ublox/ubx_evkannab1/ubx_evkannab1_nrf52832_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_NRF52832_QFAA=y
CONFIG_BOARD_UBX_EVKANNAB1_NRF52832=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y
Loading…
Cancel
Save