mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
488 B
Makefile
20 lines
488 B
Makefile
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
USEMODULE += saul_gpio
|
|
endif
|
|
|
|
ifneq (,$(filter stdio_uart,$(USEMODULE)))
|
|
USEMODULE += periph_uart
|
|
endif
|
|
|
|
ifneq (,$(filter touch_dev,$(USEMODULE)))
|
|
USEMODULE += ft5x06
|
|
endif
|
|
|
|
ifneq (,$(filter periph_uart,$(USEMODULE)))
|
|
USEMODULE += periph_lpuart
|
|
ifeq (,$(filter periph_spi_stmod_plus,$(USEMODULE)))
|
|
# if STMod+ is not used with SPI (default), the UART interface uses HW FC
|
|
FEATURES_REQUIRED += periph_uart_hw_fc
|
|
endif
|
|
endif
|