2019-04-28 17:54:50 +02:00
|
|
|
BOARD ?= stm32f429i-disc1
|
|
|
|
|
2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2019-04-28 17:54:50 +02:00
|
|
|
|
2021-10-23 12:09:27 +02:00
|
|
|
DRIVER ?= stmpe811_i2c
|
|
|
|
USEMODULE += $(DRIVER)
|
2019-04-28 17:54:50 +02:00
|
|
|
|
2023-08-12 12:45:35 +02:00
|
|
|
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
|
|
|
|
|
2019-04-28 17:54:50 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|