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

19 lines
584 B
Makefile

include ../Makefile.drivers_common
USEMODULE += adc081c
USEMODULE += xtimer
# set alert parameters in case they are undefined
TEST_ADCXX1C_LOW_LIMIT ?= 90
TEST_ADCXX1C_HIGH_LIMIT ?= 130
TEST_ADCXX1C_HYSTERESIS ?= 10
TEST_ADCXX1C_CYCLE_TIME ?= ADCXX1C_CYCLE_32
# export parameters
CFLAGS += -DADCXX1C_PARAM_LOW_LIMIT=$(TEST_ADCXX1C_LOW_LIMIT)
CFLAGS += -DADCXX1C_PARAM_HIGH_LIMIT=$(TEST_ADCXX1C_HIGH_LIMIT)
CFLAGS += -DADCXX1C_PARAM_HYSTERESIS=$(TEST_ADCXX1C_HYSTERESIS)
CFLAGS += -DADCXX1C_PARAM_CYCLES=$(TEST_ADCXX1C_CYCLE_TIME)
include $(RIOTBASE)/Makefile.include