2022-12-04 16:06:14 +01:00
|
|
|
ifneq (,$(filter periph_uart,$(USEMODULE)))
|
2023-06-17 15:13:19 +02:00
|
|
|
FEATURES_REQUIRED += periph_uart_hw_fc
|
2022-12-04 16:06:14 +01:00
|
|
|
endif
|
2019-07-05 08:43:24 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
endif
|
2020-02-04 22:28:59 +01:00
|
|
|
|
2021-12-31 10:57:25 +01:00
|
|
|
ifneq (,$(filter touch_dev,$(USEMODULE)))
|
2022-01-20 09:12:16 +01:00
|
|
|
USEMODULE += ft5x06
|
2021-12-31 10:57:25 +01:00
|
|
|
endif
|
|
|
|
|
2023-07-24 09:46:08 +02:00
|
|
|
ifneq (,$(filter periph_fmc,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_fmc_16bit
|
|
|
|
endif
|
|
|
|
|
2022-01-28 13:28:20 +01:00
|
|
|
ifneq (,$(filter periph_spi,$(USEMODULE)))
|
|
|
|
# The LED pin is also used for SPI
|
|
|
|
DISABLE_MODULE += periph_init_led0
|
|
|
|
endif
|
|
|
|
|
2023-09-22 15:49:03 +02:00
|
|
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
|
|
|
USEMODULE += st7789
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter st7789,$(USEMODULE)))
|
|
|
|
USEMODULE += lcd_parallel_16bit
|
2023-09-22 17:08:37 +02:00
|
|
|
USEMODULE += lcd_parallel_ll_mcu
|
|
|
|
FEATURES_REQUIRED += periph_fmc_nor_sram
|
2023-09-22 15:49:03 +02:00
|
|
|
endif
|
|
|
|
|
2020-02-04 22:28:59 +01:00
|
|
|
# TODO: remove the stdin dependency
|
|
|
|
USEMODULE += stdin
|