mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
2dd6457196
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.
17 lines
402 B
Makefile
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
|