From e539c3b99c9daf2919e3bf13d4ba85710b8ffdb0 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Thu, 28 Jan 2016 17:24:40 +0200 Subject: [PATCH] Bluetooth: nble: Remove enabling debug by default Enabling BLUETOOTH_DEBUG enables also serial console conflicting with tester reusing the same UART. Change-Id: I8058a019e61146ff05cc44ab543cf6ec9ff418ef Signed-off-by: Andrei Emeltchenko --- drivers/nble/Kconfig | 3 +-- samples/bluetooth/beacon/prj_nble.conf | 1 + samples/bluetooth/peripheral/prj_nble.conf | 1 + samples/bluetooth/shell/prj_nble.conf | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/nble/Kconfig b/drivers/nble/Kconfig index 429f7d7f23b..eb91b97c1d7 100644 --- a/drivers/nble/Kconfig +++ b/drivers/nble/Kconfig @@ -23,7 +23,6 @@ config NBLE select BLUETOOTH_CENTRAL select BLUETOOTH_GATT_CLIENT select BLUETOOTH_SMP - select BLUETOOTH_DEBUG select UART_INTERRUPT_DRIVEN select NANO_TIMEOUTS select NET_BUF @@ -55,7 +54,7 @@ config BLUETOOTH_MAX_PAIRED default 7 config BLUETOOTH_DEBUG - bool + bool "Enable Debug" default n select STDOUT_CONSOLE diff --git a/samples/bluetooth/beacon/prj_nble.conf b/samples/bluetooth/beacon/prj_nble.conf index ee298c14fd4..ba9f2e8b119 100644 --- a/samples/bluetooth/beacon/prj_nble.conf +++ b/samples/bluetooth/beacon/prj_nble.conf @@ -1,2 +1,3 @@ CONFIG_NBLE=y CONFIG_ARC_INIT=n +CONFIG_BLUETOOTH_DEBUG=y diff --git a/samples/bluetooth/peripheral/prj_nble.conf b/samples/bluetooth/peripheral/prj_nble.conf index 4940c1232bf..ef0af4e3079 100644 --- a/samples/bluetooth/peripheral/prj_nble.conf +++ b/samples/bluetooth/peripheral/prj_nble.conf @@ -1,3 +1,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y CONFIG_NBLE=y CONFIG_ARC_INIT=n +CONFIG_BLUETOOTH_DEBUG=y diff --git a/samples/bluetooth/shell/prj_nble.conf b/samples/bluetooth/shell/prj_nble.conf index 61f994e5853..b3e4095d355 100644 --- a/samples/bluetooth/shell/prj_nble.conf +++ b/samples/bluetooth/shell/prj_nble.conf @@ -4,3 +4,4 @@ CONFIG_NBLE=y CONFIG_ARC_INIT=n CONFIG_CONSOLE_HANDLER=y CONFIG_CONSOLE_HANDLER_SHELL=y +CONFIG_BLUETOOTH_DEBUG=y