drivers/ads101x: Makefile support
This commit is contained in:
parent
073d45aa4d
commit
96a7029f5f
@ -6,6 +6,13 @@ ifneq (,$(filter adc%1c,$(USEMODULE)))
|
||||
USEMODULE += adcxx1c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ads101%,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += ads101x
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter adxl345,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
|
||||
@ -2,6 +2,10 @@ ifneq (,$(filter adcxx1c,$(USEMODULE)))
|
||||
USEMODULE_INCLUDES += $(RIOTBASE)/drivers/adcxx1c/include
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ads101x,$(USEMODULE)))
|
||||
USEMODULE_INCLUDES += $(RIOTBASE)/drivers/ads101x/include
|
||||
endif
|
||||
|
||||
ifneq (,$(filter adxl345,$(USEMODULE)))
|
||||
USEMODULE_INCLUDES += $(RIOTBASE)/drivers/adxl345/include
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user