From 590f07b38a45efff2c668c67c378e474da9a5dbe Mon Sep 17 00:00:00 2001 From: Vincent Dupont Date: Tue, 29 Sep 2020 14:35:15 +0200 Subject: [PATCH] stm32/can: fix features dependency --- cpu/stm32/Makefile.dep | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpu/stm32/Makefile.dep b/cpu/stm32/Makefile.dep index aeba105e33..c5f22b7e55 100644 --- a/cpu/stm32/Makefile.dep +++ b/cpu/stm32/Makefile.dep @@ -24,4 +24,9 @@ ifneq (,$(filter stm32_eth,$(USEMODULE))) USEMODULE += xtimer endif +ifneq (,$(filter periph_can,$(FEATURES_USED))) + FEATURES_REQUIRED += periph_gpio + FEATURES_REQUIRED += periph_gpio_irq +endif + include $(RIOTCPU)/cortexm_common/Makefile.dep