Browse Source
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
24 changed files with 53 additions and 103 deletions
@ -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) |
@ -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 |
@ -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 |
@ -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 |
@ -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) |
@ -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 |
@ -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 |
@ -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") |
@ -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() |
@ -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,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
board: |
||||
name: nrf52833dk |
||||
vendor: Nordic Semiconductor |
||||
socs: |
||||
- name: nrf52820 |
||||
- name: nrf52833 |
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
identifier: nrf52833dk_nrf52820 |
||||
identifier: nrf52833dk/nrf52820 |
||||
name: nRF52833-DK-NRF52820 |
||||
type: mcu |
||||
arch: arm |
@ -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 |
||||
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
identifier: nrf52833dk_nrf52833 |
||||
identifier: nrf52833dk/nrf52833 |
||||
name: nRF52833-DK-NRF52833 |
||||
type: mcu |
||||
arch: arm |
@ -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 |
||||
|
Loading…
Reference in new issue