1# Copyright (c) 2025 Joel Guittet
2# SPDX-License-Identifier: Apache-2.0
3
4config UART_BITBANG
5	bool "Bitbang UART controller driver"
6	default y
7	depends on DT_HAS_ZEPHYR_UART_BITBANG_ENABLED
8	select SERIAL_HAS_DRIVER
9	select SERIAL_SUPPORT_INTERRUPT
10	select COUNTER
11	select RING_BUFFER
12	help
13	  Enable the Bitbang UART controller.
14	  The driver relies on counter interrupts to generate/sample UART
15	  frames. By nature the accuracy of the interrupts period is not
16	  guaranteed and subject to some impacts from the other activities of
17	  the application. The relative deviation that could be observed is
18	  lower when the baudrate is low. It is also recommended to have parity
19	  and/or other error detection mechanisms to detect transmission
20	  errors.
21	  This driver is provided in the hope it will be useful to provide
22	  extra UART interfaces and/or supports modes that are not supported by
23	  hardware UART peripherals on some platforms. Applications integrating
24	  this driver should be aware of the above limitations.
25