From c618d9821f6a44a3519a8adee9727327a4056b9d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 17 Oct 2019 21:46:27 +0200 Subject: [PATCH 1/4] cpu/efm32: provide gpio feature at cpu level --- cpu/efm32/Makefile.features | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu/efm32/Makefile.features b/cpu/efm32/Makefile.features index 4379f65c07..856b46851a 100644 --- a/cpu/efm32/Makefile.features +++ b/cpu/efm32/Makefile.features @@ -3,6 +3,7 @@ include $(RIOTCPU)/efm32/efm32-features.mk FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_flashpage FEATURES_PROVIDED += periph_flashpage_raw +FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_CONFLICT += periph_rtc:periph_rtt FEATURES_CONFLICT_MSG += "On the EFM32, the RTC and RTT map to the same hardware peripheral." From 174bb3feee44b8d7d4e1da8217017c3e0f4e49dc Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 18 Oct 2019 09:32:27 +0200 Subject: [PATCH 2/4] cpu/ezr32wg: provide gpio feature at cpu level --- cpu/ezr32wg/Makefile.features | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu/ezr32wg/Makefile.features b/cpu/ezr32wg/Makefile.features index c7af1adde5..8c82fc14b7 100644 --- a/cpu/ezr32wg/Makefile.features +++ b/cpu/ezr32wg/Makefile.features @@ -1,3 +1,4 @@ FEATURES_PROVIDED += periph_cpuid +FEATURES_PROVIDED += periph_gpio periph_gpio_irq -include $(RIOTCPU)/cortexm_common/Makefile.features From aed0cfb1d82204b3166da6fc9b3efd89c680167d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 18 Oct 2019 09:33:54 +0200 Subject: [PATCH 3/4] boards/efm32: remove useless provided gpio features These features are provided at CPU level --- boards/common/slwstk6000b/Makefile.features | 1 - boards/ikea-tradfri/Makefile.features | 1 - boards/slstk3401a/Makefile.features | 1 - boards/slstk3402a/Makefile.features | 1 - boards/sltb001a/Makefile.features | 1 - boards/stk3600/Makefile.features | 1 - boards/stk3700/Makefile.features | 1 - 7 files changed, 7 deletions(-) diff --git a/boards/common/slwstk6000b/Makefile.features b/boards/common/slwstk6000b/Makefile.features index c283226995..69f83b7559 100644 --- a/boards/common/slwstk6000b/Makefile.features +++ b/boards/common/slwstk6000b/Makefile.features @@ -3,7 +3,6 @@ CPU = efm32 # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt diff --git a/boards/ikea-tradfri/Makefile.features b/boards/ikea-tradfri/Makefile.features index 8bb814676b..0c16294284 100644 --- a/boards/ikea-tradfri/Makefile.features +++ b/boards/ikea-tradfri/Makefile.features @@ -2,7 +2,6 @@ CPU = efm32 CPU_MODEL = efr32mg1p132f256gm32 # Put defined MCU peripherals here (in alphabetical order) -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi diff --git a/boards/slstk3401a/Makefile.features b/boards/slstk3401a/Makefile.features index 5f4f50a88a..9c14770927 100644 --- a/boards/slstk3401a/Makefile.features +++ b/boards/slstk3401a/Makefile.features @@ -3,7 +3,6 @@ CPU_MODEL = efm32pg1b200f256gm48 # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt diff --git a/boards/slstk3402a/Makefile.features b/boards/slstk3402a/Makefile.features index 64146736b0..6951ba6bc9 100644 --- a/boards/slstk3402a/Makefile.features +++ b/boards/slstk3402a/Makefile.features @@ -3,7 +3,6 @@ CPU_MODEL = efm32pg12b500f1024gl125 # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt diff --git a/boards/sltb001a/Makefile.features b/boards/sltb001a/Makefile.features index 94136df134..ee28cf5d8a 100644 --- a/boards/sltb001a/Makefile.features +++ b/boards/sltb001a/Makefile.features @@ -3,7 +3,6 @@ CPU_MODEL = efr32mg1p132f256gm48 # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_rtt diff --git a/boards/stk3600/Makefile.features b/boards/stk3600/Makefile.features index 1f8d45238b..86a7660658 100644 --- a/boards/stk3600/Makefile.features +++ b/boards/stk3600/Makefile.features @@ -4,7 +4,6 @@ CPU_MODEL = efm32lg990f256 # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_dac -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_pwm FEATURES_PROVIDED += periph_rtc diff --git a/boards/stk3700/Makefile.features b/boards/stk3700/Makefile.features index 38405db994..44c1f5a58c 100644 --- a/boards/stk3700/Makefile.features +++ b/boards/stk3700/Makefile.features @@ -4,7 +4,6 @@ CPU_MODEL = efm32gg990f1024 # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_dac -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_pwm FEATURES_PROVIDED += periph_rtc From 4d85735b248fb531cd904a28158bc5f295fe15fa Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 18 Oct 2019 09:34:52 +0200 Subject: [PATCH 4/4] boards/slwstk6220a: remove useless provided gpio features These are provided at CPU level. --- boards/slwstk6220a/Makefile.features | 1 - 1 file changed, 1 deletion(-) diff --git a/boards/slwstk6220a/Makefile.features b/boards/slwstk6220a/Makefile.features index a60bbbe7d7..797093439f 100644 --- a/boards/slwstk6220a/Makefile.features +++ b/boards/slwstk6220a/Makefile.features @@ -2,6 +2,5 @@ CPU = ezr32wg CPU_MODEL = ezr32wg330f256r60 # Put defined MCU peripherals here (in alphabetical order) -FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart