Skip to content

Commit cb45324

Browse files
committed
boards: update nRF52840dk_nrf52811 board to board scheme v2.
This commit updates nrf52840dk_nrf52811 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 5553b2a commit cb45324

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

boards/arm/nrf52840dk_nrf52811/Kconfig.board renamed to boards/arm/nrf52840dk_nrf52811/Kconfig.v2.nrf52840dk_nrf52811

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
config BOARD_NRF52840DK_NRF52811
7-
bool "nRF52840 DK NRF52811"
8-
depends on SOC_NRF52811_QFAA
7+
bool
8+
default y
9+
select SOC_NRF52811_QFAA
10+
select SOC_SERIES_NRF52X

boards/arm/nrf52840dk_nrf52811/nrf52840dk_nrf52811_defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
# SPDX-License-Identifier: Apache-2.0
44

5-
CONFIG_SOC_SERIES_NRF52X=y
6-
CONFIG_SOC_NRF52811_QFAA=y
7-
CONFIG_BOARD_NRF52840DK_NRF52811=y
8-
95
# Enable MPU
106
CONFIG_ARM_MPU=y
117

0 commit comments

Comments
 (0)