stm32/can: fix features dependency
This commit is contained in:
parent
c498bbdc83
commit
590f07b38a
@ -24,4 +24,9 @@ ifneq (,$(filter stm32_eth,$(USEMODULE)))
|
|||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter periph_can,$(FEATURES_USED)))
|
||||||
|
FEATURES_REQUIRED += periph_gpio
|
||||||
|
FEATURES_REQUIRED += periph_gpio_irq
|
||||||
|
endif
|
||||||
|
|
||||||
include $(RIOTCPU)/cortexm_common/Makefile.dep
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user