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

18 lines
400 B
Makefile

APPLICATION = driver_ina220
include ../Makefile.tests_common
FEATURES_REQUIRED = periph_i2c
USEMODULE += ina220
USEMODULE += xtimer
# set default device parameters in case they are undefined
TEST_INA220_I2C ?= I2C_0
TEST_INA220_ADDR ?= 0x40
# export parameters
CFLAGS += -DTEST_INA220_I2C=$(TEST_INA220_I2C)
CFLAGS += -DTEST_INA220_ADDR=$(TEST_INA220_ADDR)
include $(RIOTBASE)/Makefile.include