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:
parent
1720991b81
commit
5cdd4584fe
11 changed files with 89 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue