Skip to content
Snippets Groups Projects
Commit 96a7029f authored by Matthew Blue's avatar Matthew Blue
Browse files

drivers/ads101x: Makefile support

parent 073d45aa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment