1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/stmpe811/Makefile

19 lines
397 B
Makefile
Raw Normal View History

BOARD ?= stm32f429i-disc1
include ../Makefile.drivers_common
2021-10-23 12:09:27 +02:00
DRIVER ?= stmpe811_i2c
USEMODULE += $(DRIVER)
STMPE811_POLLING_MODE ?= 0
STMPE811_POLLING_PERIOD ?= 50
CFLAGS += -DSTMPE811_POLLING_MODE=$(STMPE811_POLLING_MODE)
CFLAGS += -DSTMPE811_POLLING_PERIOD=$(STMPE811_POLLING_PERIOD)
ifneq (0,$(STMPE811_POLLING_MODE))
USEMODULE += ztimer_msec
endif
include $(RIOTBASE)/Makefile.include