Skip to content

Commit 5553b2a

Browse files
committed
boards: update nRF52840dk_nrf52840 board to board scheme v2.
This commit updates nrf52840dk_nrf52840 to use board scheme v2, and thereby remove the Kconfig BOARD setting, as this is now passed from CMake. It also uses the new SoC approach, and thereby ensuring that the right SoC is always used, and cannot accidentially be changed by the user. Signed-off-by: Torsten Rasmussen <[email protected]>
1 parent be3dd14 commit 5553b2a

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

boards/arm/nrf52840dk_nrf52840/Kconfig.board

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright (c) 2022 Zephyr Project members and individual contributors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config BOARD_NRF52840DK_NRF52840
5+
bool
6+
default y
7+
select SOC_SERIES_NRF52X
8+
select SOC_NRF52840_QIAA

boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
CONFIG_SOC_SERIES_NRF52X=y
4-
CONFIG_SOC_NRF52840_QIAA=y
5-
CONFIG_BOARD_NRF52840DK_NRF52840=y
6-
73
# Enable MPU
84
CONFIG_ARM_MPU=y
95

0 commit comments

Comments
 (0)