Browse Source

boards: arm: nrf52833dk: 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
4dbe97e5ea
  1. 7
      boards/boards_legacy/arm/nrf52833dk_nrf52820/CMakeLists.txt
  2. 10
      boards/boards_legacy/arm/nrf52833dk_nrf52820/Kconfig
  3. 8
      boards/boards_legacy/arm/nrf52833dk_nrf52820/Kconfig.board
  4. 14
      boards/boards_legacy/arm/nrf52833dk_nrf52820/Kconfig.defconfig
  5. 9
      boards/boards_legacy/arm/nrf52833dk_nrf52820/board.cmake
  6. 23
      boards/boards_legacy/arm/nrf52833dk_nrf52820/doc/index.rst
  7. 8
      boards/boards_legacy/arm/nrf52833dk_nrf52833/Kconfig.board
  8. 7
      boards/boards_legacy/arm/nrf52833dk_nrf52833/pre_dt_board.cmake
  9. 9
      boards/nordic_nrf/nrf52833dk/CMakeLists.txt
  10. 2
      boards/nordic_nrf/nrf52833dk/Kconfig
  11. 7
      boards/nordic_nrf/nrf52833dk/Kconfig.defconfig
  12. 8
      boards/nordic_nrf/nrf52833dk/Kconfig.nrf52833dk
  13. 0
      boards/nordic_nrf/nrf52833dk/board.cmake
  14. 6
      boards/nordic_nrf/nrf52833dk/board.yml
  15. 26
      boards/nordic_nrf/nrf52833dk/doc/index.rst
  16. 0
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820-pinctrl.dtsi
  17. 0
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820.dts
  18. 2
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820.yaml
  19. 4
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820_defconfig
  20. 0
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833-pinctrl.dtsi
  21. 0
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833.dts
  22. 2
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833.yaml
  23. 4
      boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833_defconfig
  24. 0
      boards/nordic_nrf/nrf52833dk/pre_dt_board.cmake

7
boards/boards_legacy/arm/nrf52833dk_nrf52820/CMakeLists.txt

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
# The nrf52833dk_nrf52820 board mirrors the nRF52833 DK hardware. This
# needs to be considered by certain system initialization functionality
# residing in system_nrf52820.c and SoC dependent routines in nrfx_coredep.h.
zephyr_compile_definitions(DEVELOP_IN_NRF52833)
zephyr_compile_definitions(NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3)

10
boards/boards_legacy/arm/nrf52833dk_nrf52820/Kconfig

@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
# nRF52833DK nRF52820 board configuration
# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_ENABLE_DCDC
bool "DCDC mode"
select SOC_DCDC_NRF52X
default y
depends on BOARD_NRF52833DK_NRF52820

8
boards/boards_legacy/arm/nrf52833dk_nrf52820/Kconfig.board

@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
# nRF52833DK nRF52820 board configuration
# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_NRF52833DK_NRF52820
bool "nRF52833 DK NRF52820"
depends on SOC_NRF52820_QDAA

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

@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
# nRF52833DK nRF52820 board configuration
# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if BOARD_NRF52833DK_NRF52820
config BOARD
default "nrf52833dk_nrf52820"
config BT_CTLR
default BT
endif # BOARD_NRF52833DK_NRF52820

9
boards/boards_legacy/arm/nrf52833dk_nrf52820/board.cmake

@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(jlink "--device=nRF52833_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52820" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)

23
boards/boards_legacy/arm/nrf52833dk_nrf52820/doc/index.rst

@ -1,23 +0,0 @@ @@ -1,23 +0,0 @@
.. _nrf52833dk_nrf52820:
nRF52820 emulation on nRF52833 DK
#################################
Overview
********
The nrf52833dk_nrf52820 board is a modified version of the
:ref:`nrf52833dk_nrf52833` that enforces the limitations imposed by the nRF52820
IC, which is a variant of the original nRF52833. Since Nordic does not offer a
development kit for the nRF52820 you can use this board to develop for this IC
while using the nRF52833 Development Kit (PCA10100).
See :ref:`nrf52833dk_nrf52833` for more information about the development board
and `nRF52820 website`_ for the official reference on the IC itself.
References
**********
.. target-notes::
.. _nRF52820 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52820

8
boards/boards_legacy/arm/nrf52833dk_nrf52833/Kconfig.board

@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
# nRF52833 DK NRF52833 board configuration
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_NRF52833DK_NRF52833
bool "NRF52833 DK NRF52833"
depends on SOC_NRF52833_QIAA

7
boards/boards_legacy/arm/nrf52833dk_nrf52833/pre_dt_board.cmake

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
# Copyright (c) 2022 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - power@40000000 & clock@40000000 & bprot@40000000
# - acl@4001e000 & flash-controller@4001e000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")

9
boards/nordic_nrf/nrf52833dk/CMakeLists.txt

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_BOARD_NRF52833DK_NRF52820)
# The nrf52833dk_nrf52820 board mirrors the nRF52833 DK hardware. This
# needs to be considered by certain system initialization functionality
# residing in system_nrf52820.c and SoC dependent routines in nrfx_coredep.h.
zephyr_compile_definitions(DEVELOP_IN_NRF52833)
zephyr_compile_definitions(NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3)
endif()

2
boards/boards_legacy/arm/nrf52833dk_nrf52833/Kconfig → boards/nordic_nrf/nrf52833dk/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_NRF52833DK_NRF52833
depends on BOARD_NRF52833DK

7
boards/boards_legacy/arm/nrf52833dk_nrf52833/Kconfig.defconfig → boards/nordic_nrf/nrf52833dk/Kconfig.defconfig

@ -3,12 +3,9 @@ @@ -3,12 +3,9 @@
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
if BOARD_NRF52833DK_NRF52833
config BOARD
default "nrf52833dk_nrf52833"
if BOARD_NRF52833DK
config BT_CTLR
default BT
endif # BOARD_NRF52833DK_NRF52833
endif # BOARD_NRF52833DK

8
boards/nordic_nrf/nrf52833dk/Kconfig.nrf52833dk

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# nRF52833 DK NRF52833 board configuration
# Copyright (c) 2019 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_NRF52833DK
select SOC_NRF52820_QDAA if BOARD_NRF52833DK_NRF52820
select SOC_NRF52833_QIAA if BOARD_NRF52833DK_NRF52833

0
boards/boards_legacy/arm/nrf52833dk_nrf52833/board.cmake → boards/nordic_nrf/nrf52833dk/board.cmake

6
boards/nordic_nrf/nrf52833dk/board.yml

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
board:
name: nrf52833dk
vendor: Nordic Semiconductor
socs:
- name: nrf52820
- name: nrf52833

26
boards/boards_legacy/arm/nrf52833dk_nrf52833/doc/index.rst → boards/nordic_nrf/nrf52833dk/doc/index.rst

@ -155,7 +155,7 @@ the board are working properly with Zephyr: @@ -155,7 +155,7 @@ 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/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts`.
:zephyr_file:`boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833.dts`.
Changing UART1 pins
*******************
@ -215,3 +215,27 @@ References @@ -215,3 +215,27 @@ References
.. _Nordic Semiconductor Infocenter: https://infocenter.nordicsemi.com
.. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html
.. _nRF52833 Product Specification: https://infocenter.nordicsemi.com/pdf/nRF52833_OPS_v0.7.pdf
.. _nrf52833dk_nrf52820:
nRF52820 emulation on nRF52833 DK
#################################
Overview
********
The nrf52833dk_nrf52820 board is a modified version of the
:ref:`nrf52833dk_nrf52833` that enforces the limitations imposed by the nRF52820
IC, which is a variant of the original nRF52833. Since Nordic does not offer a
development kit for the nRF52820 you can use this board to develop for this IC
while using the nRF52833 Development Kit (PCA10100).
See :ref:`nrf52833dk_nrf52833` for more information about the development board
and `nRF52820 website`_ for the official reference on the IC itself.
References
**********
.. target-notes::
.. _nRF52820 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52820

0
boards/boards_legacy/arm/nrf52833dk_nrf52820/nrf52833dk_nrf52820-pinctrl.dtsi → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820-pinctrl.dtsi

0
boards/boards_legacy/arm/nrf52833dk_nrf52820/nrf52833dk_nrf52820.dts → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820.dts

2
boards/boards_legacy/arm/nrf52833dk_nrf52820/nrf52833dk_nrf52820.yaml → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820.yaml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
identifier: nrf52833dk_nrf52820
identifier: nrf52833dk/nrf52820
name: nRF52833-DK-NRF52820
type: mcu
arch: arm

4
boards/boards_legacy/arm/nrf52833dk_nrf52820/nrf52833dk_nrf52820_defconfig → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52820_defconfig

@ -1,9 +1,5 @@ @@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52820_QDAA=y
CONFIG_BOARD_NRF52833DK_NRF52820=y
# Enable MPU
CONFIG_ARM_MPU=y

0
boards/boards_legacy/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833-pinctrl.dtsi → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833-pinctrl.dtsi

0
boards/boards_legacy/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833.dts

2
boards/boards_legacy/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.yaml → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833.yaml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
identifier: nrf52833dk_nrf52833
identifier: nrf52833dk/nrf52833
name: nRF52833-DK-NRF52833
type: mcu
arch: arm

4
boards/boards_legacy/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833_defconfig → boards/nordic_nrf/nrf52833dk/nrf52833dk_nrf52833_defconfig

@ -1,9 +1,5 @@ @@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52833_QIAA=y
CONFIG_BOARD_NRF52833DK_NRF52833=y
# Enable MPU
CONFIG_ARM_MPU=y

0
boards/boards_legacy/arm/nrf52833dk_nrf52820/pre_dt_board.cmake → boards/nordic_nrf/nrf52833dk/pre_dt_board.cmake

Loading…
Cancel
Save