1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/stm32_common/Makefile.dep

8 lines
211 B
Makefile
Raw Normal View History

ifneq (,$(filter periph_i2c,$(USEMODULE)))
ifneq (,$(filter $(CPU),stm32f0 stm32f3 stm32f7 stm32l0 stm32l4))
USEMODULE += periph_i2c_1
else # stm32f1/f2/f4/l1
USEMODULE += periph_i2c_2
endif
endif