mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
15 lines
347 B
Makefile
15 lines
347 B
Makefile
include ../Makefile.tests_common
|
|
|
|
USEMODULE += ina220
|
|
USEMODULE += xtimer
|
|
|
|
# set default device parameters in case they are undefined
|
|
TEST_INA220_I2C ?= I2C_DEV\(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
|