Add UART_HOSTDRV_INTERRUPT_DRIVEN configure option

Configure option UART_HOSTDRV_INTERRUPT_DRIVEN enables ISR support
making it possible to use interrupt driven input for UARTs. The option
would be selected by serial console and Bluetooth UART drivers.

Change-Id: Ie249275bb4bb2138f9d6b17e938bb1bbfe566f0c
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2015-04-20 11:00:34 +03:00 committed by Anas Nashif
commit cb764c5bc1

View file

@ -51,3 +51,11 @@ config PRINTK
rather than suppressing the generation of printk() output entirely. rather than suppressing the generation of printk() output entirely.
Output is sent immediately, without any mutual exclusion or Output is sent immediately, without any mutual exclusion or
buffering. buffering.
config UART_HOSTDRV_INTERRUPT_DRIVEN
bool
prompt "Interrupt driven UART support"
default n
help
This option enables interrupt support for UART allowing console
input and UART based drivers.