uart_pipe: use device name instead of index

Use device name to find the UART device for uart_pipe usage,
instead of relying on an arbitrary index.

Change-Id: I36aaa4ed8f0b4905e4e741ca1464947e59f30869
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2015-12-01 08:42:20 -08:00 committed by Anas Nashif
commit 5cdd4584fe
11 changed files with 89 additions and 28 deletions

View file

@ -255,4 +255,15 @@ config BLUETOOTH_UART_IRQ_PRI
endif
if UART_PIPE
config UART_PIPE_ON_DEV_NAME
default "UART_1"
config UART_PIPE_IRQ
default 38
config UART_PIPE_IRQ_PRI
default 3
endif
endif #PLATFORM_QUARK_SE_X86