1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_mq3/Makefile
2015-11-03 16:04:32 +01:00

18 lines
343 B
Makefile

APPLICATION = driver_mq3
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_adc
USEMODULE += mq3
USEMODULE += xtimer
# set default device parameters in case they are undefined
MQ3_ADC ?= ADC_0
MQ3_CHAN ?= 0
# export parameters
CFLAGS += -DMQ3_ADC=$(MQ3_ADC)
CFLAGS += -DMQ3_CHAN=$(MQ3_CHAN)
include $(RIOTBASE)/Makefile.include