2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2019-11-05 12:33:06 +01:00
|
|
|
|
|
|
|
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
|