Browse Source
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
36 changed files with 81 additions and 191 deletions
@ -1,7 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
# The nrf52dk_nrf52805 board mirrors the nRF52 DK hardware. This needs |
|
||||||
# to be considered by certain system initialization functionality residing |
|
||||||
# in system_nrf52805.c and SoC dependent routines in nrfx_coredep.h. |
|
||||||
zephyr_compile_definitions(DEVELOP_IN_NRF52832) |
|
||||||
zephyr_compile_definitions(NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3) |
|
@ -1,10 +0,0 @@ |
|||||||
# nRF52 DK nRF52805 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_NRF52DK_NRF52805 |
|
@ -1,8 +0,0 @@ |
|||||||
# nRF52 DK nRF52805 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2020 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NRF52DK_NRF52805 |
|
||||||
bool "nRF52 DK NRF52805" |
|
||||||
depends on SOC_NRF52805_CAAA |
|
@ -1,14 +0,0 @@ |
|||||||
# nRF52 DK nRF52805 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2020 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if BOARD_NRF52DK_NRF52805 |
|
||||||
|
|
||||||
config BOARD |
|
||||||
default "nrf52dk_nrf52805" |
|
||||||
|
|
||||||
config BT_CTLR |
|
||||||
default BT |
|
||||||
|
|
||||||
endif # BOARD_NRF52DK_NRF52805 |
|
@ -1,7 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000") |
|
||||||
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/openocd-nrf5.board.cmake) |
|
@ -1,23 +0,0 @@ |
|||||||
.. _nrf52dk_nrf52805: |
|
||||||
|
|
||||||
nRF52805 emulation on nRF52 DK |
|
||||||
############################## |
|
||||||
|
|
||||||
Overview |
|
||||||
******** |
|
||||||
|
|
||||||
The nrf52dk_nrf52805 board is a modified version of the :ref:`nrf52dk_nrf52832` |
|
||||||
that enforces the limitations imposed by the nRF52805 IC, which is a |
|
||||||
cost-reduced variant of the original nRF52832. Since Nordic does not offer a |
|
||||||
development kit for the nRF52805, you can use this board to develop for this |
|
||||||
IC while using the nRF52 Development Kit (PCA10040). |
|
||||||
|
|
||||||
See :ref:`nrf52dk_nrf52832` for more information about the development board and |
|
||||||
`nRF52805 website`_ for the official reference on the IC itself. |
|
||||||
|
|
||||||
References |
|
||||||
********** |
|
||||||
|
|
||||||
.. target-notes:: |
|
||||||
|
|
||||||
.. _nRF52805 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52805 |
|
@ -1,7 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
# The nrf52dk_nrf52810 board mirrors the nRF52832 DK hardware. This |
|
||||||
# needs to be considered by certain system initialization functionality |
|
||||||
# residing in system_nrf52810.c and SoC dependent routines in nrfx_coredep.h. |
|
||||||
zephyr_compile_definitions(DEVELOP_IN_NRF52832) |
|
||||||
zephyr_compile_definitions(NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3) |
|
@ -1,8 +0,0 @@ |
|||||||
# nRF52 DK nRF52810 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2018 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NRF52DK_NRF52810 |
|
||||||
bool "nRF52 DK NRF52810" |
|
||||||
depends on SOC_NRF52810_QFAA |
|
@ -1,11 +0,0 @@ |
|||||||
# nRF52 DK nRF52810 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2018 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if BOARD_NRF52DK_NRF52810 |
|
||||||
|
|
||||||
config BOARD |
|
||||||
default "nrf52dk_nrf52810" |
|
||||||
|
|
||||||
endif # BOARD_NRF52DK_NRF52810 |
|
@ -1,7 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000") |
|
||||||
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/openocd-nrf5.board.cmake) |
|
@ -1,24 +0,0 @@ |
|||||||
.. _nrf52dk_nrf52810: |
|
||||||
|
|
||||||
nRF52810 emulation on nRF52 DK |
|
||||||
############################## |
|
||||||
|
|
||||||
Overview |
|
||||||
******** |
|
||||||
|
|
||||||
The nrf52dk_nrf52810 board is a modified version of the :ref:`nrf52dk_nrf52832` |
|
||||||
that enforces the limitations imposed by the nRF52810 IC, which is a |
|
||||||
cost-reduced variant of the original nRF52832. Since Nordic does not offer a |
|
||||||
development kit for the nRF52810 you can use this board to develop for this |
|
||||||
IC while using the nRF52 Development Kit (PCA10040). |
|
||||||
|
|
||||||
See :ref:`nrf52dk_nrf52832` for more information about the development board and |
|
||||||
`nRF52810 website`_ for the official reference on the IC itself. |
|
||||||
|
|
||||||
|
|
||||||
References |
|
||||||
********** |
|
||||||
|
|
||||||
.. target-notes:: |
|
||||||
|
|
||||||
.. _nRF52810 website: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52810 |
|
@ -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") |
|
@ -1,10 +0,0 @@ |
|||||||
# nRF52 DK board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2016 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_NRF52DK_NRF52832 |
|
@ -1,8 +0,0 @@ |
|||||||
# nRF52 DK NRF52832 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2016 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NRF52DK_NRF52832 |
|
||||||
bool "nRF52 DK NRF52832" |
|
||||||
depends on SOC_NRF52832_QFAA |
|
@ -1,14 +0,0 @@ |
|||||||
# nRF52 DK NRF52832 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2016 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
if BOARD_NRF52DK_NRF52832 |
|
||||||
|
|
||||||
config BOARD |
|
||||||
default "nrf52dk_nrf52832" |
|
||||||
|
|
||||||
config BT_CTLR |
|
||||||
default BT |
|
||||||
|
|
||||||
endif # BOARD_NRF52DK_NRF52832 |
|
@ -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 @@ |
|||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
if(CONFIG_BOARD_NRF52DK_NRF52805 OR CONFIG_BOARD_NRF52DK_NRF52810) |
||||||
|
# The nrf52dk_nrf52805/nrf52dk_nrf52810 boards mirrors the nRF52832 DK hardware. This |
||||||
|
# needs to be considered by certain system initialization functionality |
||||||
|
# residing in system_nrf52810.c and SoC dependent routines in nrfx_coredep.h. |
||||||
|
zephyr_compile_definitions(DEVELOP_IN_NRF52832) |
||||||
|
zephyr_compile_definitions(NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3) |
||||||
|
endif() |
@ -0,0 +1,9 @@ |
|||||||
|
# nRF52 DK nRF52810 board configuration |
||||||
|
|
||||||
|
# Copyright (c) 2018 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NRF52DK |
||||||
|
select SOC_NRF52805_CAAA if BOARD_NRF52DK_NRF52805 |
||||||
|
select SOC_NRF52810_QFAA if BOARD_NRF52DK_NRF52810 |
||||||
|
select SOC_NRF52832_QFAA if BOARD_NRF52DK_NRF52832 |
@ -0,0 +1,7 @@ |
|||||||
|
board: |
||||||
|
name: nrf52dk |
||||||
|
vendor: Nordic Semiconductor |
||||||
|
socs: |
||||||
|
- name: nrf52805 |
||||||
|
- name: nrf52810 |
||||||
|
- name: nrf52832 |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@ -1,4 +1,4 @@ |
|||||||
identifier: nrf52dk_nrf52805 |
identifier: nrf52dk/nrf52805 |
||||||
name: nRF52-DK-NRF52805 |
name: nRF52-DK-NRF52805 |
||||||
type: mcu |
type: mcu |
||||||
arch: arm |
arch: arm |
@ -1,9 +1,5 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_SERIES_NRF52X=y |
|
||||||
CONFIG_SOC_NRF52805_CAAA=y |
|
||||||
CONFIG_BOARD_NRF52DK_NRF52805=y |
|
||||||
|
|
||||||
# Enable MPU |
# Enable MPU |
||||||
CONFIG_ARM_MPU=y |
CONFIG_ARM_MPU=y |
||||||
|
|
@ -1,4 +1,4 @@ |
|||||||
identifier: nrf52dk_nrf52810 |
identifier: nrf52dk/nrf52810 |
||||||
name: nRF52-DK-NRF52810 |
name: nRF52-DK-NRF52810 |
||||||
type: mcu |
type: mcu |
||||||
arch: arm |
arch: arm |
@ -1,9 +1,5 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_SERIES_NRF52X=y |
|
||||||
CONFIG_SOC_NRF52810_QFAA=y |
|
||||||
CONFIG_BOARD_NRF52DK_NRF52810=y |
|
||||||
|
|
||||||
# Enable MPU |
# Enable MPU |
||||||
CONFIG_ARM_MPU=y |
CONFIG_ARM_MPU=y |
||||||
|
|
@ -1,4 +1,4 @@ |
|||||||
identifier: nrf52dk_nrf52832 |
identifier: nrf52dk/nrf52832 |
||||||
name: nRF52-DK-NRF52832 |
name: nRF52-DK-NRF52832 |
||||||
type: mcu |
type: mcu |
||||||
arch: arm |
arch: arm |
@ -1,9 +1,5 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_SERIES_NRF52X=y |
|
||||||
CONFIG_SOC_NRF52832_QFAA=y |
|
||||||
CONFIG_BOARD_NRF52DK_NRF52832=y |
|
||||||
|
|
||||||
# Enable MPU |
# Enable MPU |
||||||
CONFIG_ARM_MPU=y |
CONFIG_ARM_MPU=y |
||||||
|
|
Loading…
Reference in new issue