Skip to content

Commit 11c68a1

Browse files
nvlsianpugalak
authored andcommitted
boards/arm/nrf52xx_boards: makes GPIO_AS_PINRESET common
Kconfig keyword GPIO_AS_PINRESET is common for whole nrf52 series. This patch move it to the series Kconfig.soc file. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent a5c12b6 commit 11c68a1

File tree

5 files changed

+5
-16
lines changed

5 files changed

+5
-16
lines changed

arch/arm/soc/nordic_nrf/nrf52/Kconfig.soc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@ config NFCT_PINS_AS_GPIOS
4747
not switch back these pins to NFCT mode. Doing this requires UICR
4848
erase prior to flashing device using the image which has
4949
this option disabled.
50+
51+
config GPIO_AS_PINRESET
52+
bool "GPIO as pin reset (reset button)"
53+
depends on SOC_SERIES_NRF52X
54+
default y

boards/arm/96b_nitrogen/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@
66

77
if BOARD_96B_NITROGEN
88

9-
config GPIO_AS_PINRESET
10-
bool "GPIO as pin reset (reset button)"
11-
default y
12-
139
endif # BOARD_96B_NITROGEN

boards/arm/nrf52840_pca10056/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@
66

77
if BOARD_NRF52840_PCA10056
88

9-
config GPIO_AS_PINRESET
10-
bool "GPIO as pin reset (reset button)"
11-
default y
12-
139
endif # BOARD_NRF52840_PCA10056

boards/arm/nrf52_pca10040/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@
66

77
if BOARD_NRF52_PCA10040
88

9-
config GPIO_AS_PINRESET
10-
bool "GPIO as pin reset (reset button)"
11-
default y
12-
139
endif # BOARD_NRF52_PCA10040

boards/arm/nrf52_vbluno52/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@
66

77
if BOARD_NRF52_VBLUNO52
88

9-
config GPIO_AS_PINRESET
10-
bool "GPIO as pin reset (reset button)"
11-
default y
12-
139
endif # BOARD_NRF52_VBLUNO52

0 commit comments

Comments
 (0)