d118d19293
This commit moves the dependency management between the RING_BUFFER and UART_ASYNC_API or UART_INTERRUPT_DRIVEN options to the Kconfig Kconfig.test. If either UART API options listed are selected, the RING_BUFFER option must be selected. This is now handled automatically by Kconfig instead of causing a build assert. The asserts where added with this PR #59880, and are removed in this commit. Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
12 lines
394 B
Plaintext
12 lines
394 B
Plaintext
# Copyright (c) 2021, Thomas Stranger
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Hidden option to enable the vnd,serial dummy driver used in testing.
|
|
config SERIAL_TEST
|
|
def_bool DT_HAS_VND_SERIAL_ENABLED
|
|
depends on DT_HAS_VND_SERIAL_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
select SERIAL_SUPPORT_ASYNC
|
|
select RING_BUFFER if (UART_INTERRUPT_DRIVEN || UART_ASYNC_API)
|