1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/stm32f723e-disco: fix periph_uart_hw_fc use

Enabling module `periph_uart_hw_fc` makes only sense if module `periph_uart` is used.
This commit is contained in:
Gunar Schorcht 2022-12-04 16:06:14 +01:00
parent 9fd2d6b6e0
commit 5c38fafee4
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,7 @@ config BOARD_STM32F723E_DISCO
select HAVE_SAUL_GPIO
select HAVE_FT5X06
select MODULE_PERIPH_UART_HW_FC if TEST_KCONFIG && HAS_PERIPH_UART_HW_FC
select MODULE_PERIPH_UART_HW_FC if TEST_KCONFIG && HAS_PERIPH_UART_HW_FC && MODULE_PERIPH_UART
# Workaround due to stdout only working with stdin enabled
select MODULE_STDIN if TEST_KCONFIG

View File

@ -1,4 +1,6 @@
USEMODULE += periph_uart_hw_fc
ifneq (,$(filter periph_uart,$(USEMODULE)))
USEMODULE += periph_uart_hw_fc
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio