drivers/nble: Enable UART debug only if BLUETOOTH_DEBUG_DRIVER enabled
This allows to decrease number debug messages using config option. Change-Id: I987d25c6d4b18503d6beb7feab97e9207100323d Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
14680cf4ff
commit
b436fa16b5
5 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,11 @@
|
|||
#include "uart.h"
|
||||
#include "rpc.h"
|
||||
|
||||
#if !defined(CONFIG_BLUETOOTH_DEBUG_DRIVER)
|
||||
#undef BT_DBG
|
||||
#define BT_DBG(fmt, ...)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @note this structure must be self-aligned and self-packed
|
||||
*/
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_NBLE=y
|
||||
CONFIG_ARC_INIT=n
|
||||
CONFIG_BLUETOOTH_DEBUG=y
|
||||
CONFIG_BLUETOOTH_DEBUG_DRIVER=y
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_NBLE=y
|
||||
CONFIG_ARC_INIT=n
|
||||
CONFIG_BLUETOOTH_DEBUG=y
|
||||
CONFIG_BLUETOOTH_DEBUG_DRIVER=y
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_NBLE=y
|
||||
CONFIG_ARC_INIT=n
|
||||
CONFIG_BLUETOOTH_DEBUG=y
|
||||
CONFIG_BLUETOOTH_DEBUG_DRIVER=y
|
||||
|
|
|
@ -5,3 +5,4 @@ CONFIG_ARC_INIT=n
|
|||
CONFIG_CONSOLE_HANDLER=y
|
||||
CONFIG_CONSOLE_HANDLER_SHELL=y
|
||||
CONFIG_BLUETOOTH_DEBUG=y
|
||||
CONFIG_BLUETOOTH_DEBUG_DRIVER=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue