From 220d16dc07c864e40ee5d55b94554d0778eb8aaa Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Tue, 18 Dec 2018 21:32:46 +0100
Subject: [PATCH] cpu/nrf5x: move periph_gpio features to common cpu level

---
 cpu/nrf51/Makefile.features        | 2 --
 cpu/nrf5x_common/Makefile.features | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/cpu/nrf51/Makefile.features b/cpu/nrf51/Makefile.features
index 1a47295f06..7d12728b90 100644
--- a/cpu/nrf51/Makefile.features
+++ b/cpu/nrf51/Makefile.features
@@ -1,3 +1 @@
-FEATURES_PROVIDED += periph_gpio periph_gpio_irq
-
 -include $(RIOTCPU)/nrf5x_common/Makefile.features
diff --git a/cpu/nrf5x_common/Makefile.features b/cpu/nrf5x_common/Makefile.features
index 7fe6e293cd..dd63600abc 100644
--- a/cpu/nrf5x_common/Makefile.features
+++ b/cpu/nrf5x_common/Makefile.features
@@ -1,6 +1,7 @@
 # Put defined MCU peripherals here (in alphabetical order)
 FEATURES_PROVIDED += periph_cpuid
 FEATURES_PROVIDED += periph_flashpage
+FEATURES_PROVIDED += periph_gpio periph_gpio_irq
 FEATURES_PROVIDED += periph_hwrng
 
 # Various other features (if any)
-- 
GitLab