tests: bluetooth: tester: Make UART usage consistent

We use UART1 for UART pipe in a number of qemu tests, so lets do the
same thing for the bluetooth test and move the bluetooth uart to UART2.

Jira: ZEP-2412.

Signed-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Savinay Dharmappa 2017-07-27 00:23:43 +05:30 committed by Kumar Gala
commit 3c9fb93dc5
3 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart0;
zephyr,bt-uart = &uart1;
zephyr,bt-uart = &uart2;
zephyr,uart-pipe = &uart1;
zephyr,bt-mon-uart = &uart2;
};

View file

@ -12,11 +12,11 @@ BOARD ?= arduino_101
CONF_FILE ?= default.conf
# UART for Bluetooth
QEMU_EXTRA_FLAGS = -serial unix:/tmp/bt-server-bredr
# UART for Tester
QEMU_EXTRA_FLAGS += -serial pipe:/tmp/bt-stack-tester
QEMU_EXTRA_FLAGS = -serial pipe:/tmp/bt-stack-tester
# UART for Bluetooth
QEMU_EXTRA_FLAGS += -serial unix:/tmp/bt-server-bredr
PRJ_INCPATH += ${ZEPHYR_BASE}/include/drivers

View file

@ -1,5 +1,5 @@
CONFIG_UART_PIPE=y
CONFIG_UART_PIPE_ON_DEV_NAME="UART_2"
CONFIG_UART_PIPE_ON_DEV_NAME="UART_1"
CONFIG_CONSOLE_HANDLER=y
CONFIG_BT=y
CONFIG_BT_CENTRAL=y