Browse Source
This commit updates nrf51dk_nrf51422 to use board scheme v2, and thus becomes board nrf51dk with the SoC nrf51422. 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: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
12 changed files with 15 additions and 17 deletions
@ -1,8 +0,0 @@ |
|||||||
# nRF51 DK NRF51422 board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2016 Linaro Limited. |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NRF51DK_NRF51422 |
|
||||||
bool "nRF51 DK NRF51422" |
|
||||||
depends on SOC_NRF51822_QFAC |
|
@ -0,0 +1,8 @@ |
|||||||
|
# Copyright (c) 2023 Nordic Semiconductor ASA |
||||||
|
|
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NRF51DK |
||||||
|
bool |
||||||
|
default y |
||||||
|
select SOC_NRF51822_QFAC |
@ -0,0 +1,5 @@ |
|||||||
|
board: |
||||||
|
name: nrf51dk |
||||||
|
vendor: Nordic Semiconductor |
||||||
|
socs: |
||||||
|
- name: nrf51422 |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
@ -1,4 +1,4 @@ |
|||||||
identifier: nrf51dk_nrf51422 |
identifier: nrf51dk/nrf51422 |
||||||
name: nRF51-DK-NRF51422 |
name: nRF51-DK-NRF51422 |
||||||
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_NRF51X=y |
|
||||||
CONFIG_SOC_NRF51822_QFAC=y |
|
||||||
CONFIG_BOARD_NRF51DK_NRF51422=y |
|
||||||
|
|
||||||
# enable GPIO |
# enable GPIO |
||||||
CONFIG_GPIO=y |
CONFIG_GPIO=y |
||||||
|
|
Loading…
Reference in new issue