1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ina3221/Makefile
2019-11-05 12:33:06 +01:00

22 lines
554 B
Makefile

include ../Makefile.tests_common
DEBUG ?= 0
USEMODULE += ina3221
USEMODULE += fmt
USEMODULE += xtimer
INA3221_ADDR ?= INA3221_ADDR_00
INA3221_PIN_WRN ?= GPIO_UNDEF
INA3221_PIN_CRT ?= GPIO_UNDEF
INA3221_PIN_PV ?= GPIO_UNDEF
INA3221_PIN_TC ?= GPIO_UNDEF
CFLAGS += -DINA3221_PARAM_ADDR=$(INA3221_ADDR)
CFLAGS += -DINA3221_PARAM_PIN_WRN=$(INA3221_PIN_WRN)
CFLAGS += -DINA3221_PARAM_PIN_CRT=$(INA3221_PIN_CRT)
CFLAGS += -DINA3221_PARAM_PIN_PV=$(INA3221_PIN_PV)
CFLAGS += -DINA3221_PARAM_PIN_TC=$(INA3221_PIN_TC)
include $(RIOTBASE)/Makefile.include