From c67920c1cc927dd7cc5430102e0d3dd2e6e2302d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 27 Dec 2021 11:28:31 +0100 Subject: [PATCH] boards/stm32f746g-disco: pull-in ft5336 with touch_dev --- boards/stm32f746g-disco/Kconfig | 1 + boards/stm32f746g-disco/Makefile.dep | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/boards/stm32f746g-disco/Kconfig b/boards/stm32f746g-disco/Kconfig index d8e16429a5..1309131601 100644 --- a/boards/stm32f746g-disco/Kconfig +++ b/boards/stm32f746g-disco/Kconfig @@ -29,5 +29,6 @@ config BOARD_STM32F746G_DISCO select BOARD_HAS_LSE select HAVE_SAUL_GPIO + select HAVE_FT5336 source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f746g-disco/Makefile.dep b/boards/stm32f746g-disco/Makefile.dep index 546d8fd2fc..874c9c8715 100644 --- a/boards/stm32f746g-disco/Makefile.dep +++ b/boards/stm32f746g-disco/Makefile.dep @@ -9,3 +9,7 @@ endif ifneq (,$(filter disp_dev,$(USEMODULE))) FEATURES_REQUIRED += periph_ltdc endif + +ifneq (,$(filter touch_dev,$(USEMODULE))) + USEMODULE += ft5336 +endif