From 7d3a6fecee565cc2f1c55f12dd4e4ebcfdbfb489 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 16 Nov 2019 14:07:53 +0100 Subject: [PATCH 1/3] cpu/efm32: provide arch_efm32 features --- cpu/efm32/Makefile.features | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu/efm32/Makefile.features b/cpu/efm32/Makefile.features index 856b46851aa7..66023f428c87 100644 --- a/cpu/efm32/Makefile.features +++ b/cpu/efm32/Makefile.features @@ -1,5 +1,6 @@ include $(RIOTCPU)/efm32/efm32-features.mk +FEATURES_PROVIDED += arch_efm32 FEATURES_PROVIDED += periph_cpuid FEATURES_PROVIDED += periph_flashpage FEATURES_PROVIDED += periph_flashpage_raw From 79943cb0de46e8b38c91fa3ded811678c5eaf184 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 16 Nov 2019 14:08:49 +0100 Subject: [PATCH 2/3] drivers/pca9685: blacklist efm32 arch The CPU doesn't support PWM_RIGHT --- drivers/Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/Makefile.dep b/drivers/Makefile.dep index 46584327a53c..7db8a567eb70 100644 --- a/drivers/Makefile.dep +++ b/drivers/Makefile.dep @@ -421,6 +421,9 @@ ifneq (,$(filter pca9685,$(USEMODULE))) FEATURES_REQUIRED += periph_gpio FEATURES_REQUIRED += periph_i2c USEMODULE += xtimer + + # efm32 CPU doesn't support PWM_RIGHT + FEATURES_BLACKLIST += arch_efm32 endif ifneq (,$(filter pcd8544,$(USEMODULE))) From 1d20e9e1bbb8f9ee5290f1e0ddda073b589cb836 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 16 Nov 2019 14:16:27 +0100 Subject: [PATCH 3/3] tests/driver_pca9685: remove useless BOARD_BLACKLIST The efm32 arch is blacklisted at driver dependency level. --- tests/driver_pca9685/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/driver_pca9685/Makefile b/tests/driver_pca9685/Makefile index 5df0d0d42475..bfd515b8ead6 100644 --- a/tests/driver_pca9685/Makefile +++ b/tests/driver_pca9685/Makefile @@ -1,10 +1,5 @@ include ../Makefile.tests_common -# These boards are blacklisted since efm32 CPU dosn't support PWM_RIGHT -BOARD_BLACKLIST := slstk3401a slstk3402a sltb001a \ - slwstk6000b-slwrb4150a slwstk6000b-slwrb4162a \ - stk3600 stk3700 - USEMODULE += pca9685 USEMODULE += shell