mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
8 lines
211 B
Makefile
8 lines
211 B
Makefile
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
|