1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/touch_dev/Makefile
Gunar Schorcht 2dd6457196 tests/drivers/touch_dev: introduce TOUCH_DEV_POLLING
To be able to test the touch device in polling mode, variable `TOUCH_DEV_POLLING` is introduced. It is set to 0 by default and can be overriden by 1 to use the polling mode. The polling period can be controlled by the `TOUCH_DEV_POLLING_PERIOD` variable.
2023-08-12 13:21:48 +02:00

17 lines
402 B
Makefile

BOARD ?= stm32f429i-disc1
include ../Makefile.drivers_common
DISABLE_MODULE += test_utils_interactive_sync
USEMODULE += touch_dev
USEMODULE += ztimer
USEMODULE += ztimer_msec
TOUCH_DEV_POLLING_MODE ?= 0
TOUCH_DEV_POLLING_PERIOD ?= 50
CFLAGS += -DTOUCH_DEV_POLLING_MODE=$(TOUCH_DEV_POLLING_MODE)
CFLAGS += -DTOUCH_DEV_POLLING_PERIOD=$(TOUCH_DEV_POLLING_PERIOD)
include $(RIOTBASE)/Makefile.include