1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ina2xx/Makefile
Marian Buschsieweke f424421f79
drivers: Renamed ina220 --> ina2xx
The INA219 has the exact same interface as the INA220 (including values and
semantics of the configuration register). Thus, this driver can be used for
both. The ina220 has been renamed to ina2xx to reflect this and pseudo modules
for the ina220 and ina219 have been added.
2019-11-22 19:53:51 +01:00

15 lines
347 B
Makefile

include ../Makefile.tests_common
USEMODULE += ina220
USEMODULE += xtimer
# set default device parameters in case they are undefined
TEST_INA2XX_I2C ?= I2C_DEV\(0\)
TEST_INA2XX_ADDR ?= 0x40
# export parameters
CFLAGS += -DTEST_INA2XX_I2C=$(TEST_INA2XX_I2C)
CFLAGS += -DTEST_INA2XX_ADDR=$(TEST_INA2XX_ADDR)
include $(RIOTBASE)/Makefile.include