The `bluetooth/common/log.h` and `bluetooth/common/log.c` files have been removed. Files that were using them have been updated to use `zephyr/logging/log.h` instead. Those replacement have been done consequently: - `/BT_DBG/LOG_DBG/` - `/BT_ERR/LOG_ERR/` - `/BT_WARN/LOG_WRN/` - `/BT_INFO/LOG_INF/` - `/BT_HEXDUMP_DBG/LOG_HEXDUMP_DBG/` - `/BT_DBG_OBJ_ID/LOG_DBG_OBJ_ID/` Also, some files were relying on the `common/log.h` include to include `zephyr/bluetooth/hci.h`, in those cases the include of `hci.h` has been added. For files that were including `common/log.h` but not using any logs, the include has been removed and not replaced. Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
67 lines
1.4 KiB
Plaintext
67 lines
1.4 KiB
Plaintext
# Increased stack due to settings API usage
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
|
|
CONFIG_TEST=y
|
|
CONFIG_TEST_LOGGING_DEFAULTS=n
|
|
CONFIG_BT=y
|
|
CONFIG_BT_CENTRAL=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_PRIVACY=y
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_BT_SIGNING=y
|
|
CONFIG_BT_FIXED_PASSKEY=y
|
|
CONFIG_BT_ATT_PREPARE_COUNT=2
|
|
CONFIG_BT_GATT_CLIENT=y
|
|
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
|
|
CONFIG_BT_TINYCRYPT_ECC=y
|
|
CONFIG_BT_SHELL=y
|
|
CONFIG_BT_DEVICE_NAME="log test shell"
|
|
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
|
|
CONFIG_BT_L2CAP_TX_BUF_COUNT=4
|
|
CONFIG_BT_ID_MAX=2
|
|
CONFIG_BT_EATT=y
|
|
CONFIG_BT_L2CAP_ECRED=y
|
|
CONFIG_BT_GATT_DYNAMIC_DB=y
|
|
CONFIG_BT_GATT_NOTIFY_MULTIPLE=y
|
|
CONFIG_BT_HRS=y
|
|
CONFIG_BT_FILTER_ACCEPT_LIST=y
|
|
CONFIG_BT_REMOTE_INFO=y
|
|
CONFIG_BT_REMOTE_VERSION=y
|
|
CONFIG_BT_GATT_AUTO_DISCOVER_CCC=y
|
|
|
|
# Disable BT logging and enable general logging
|
|
CONFIG_BT_DEBUG_LOG=n
|
|
CONFIG_LOG=y
|
|
|
|
CONFIG_BT_SETTINGS=y
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_NVS=y
|
|
CONFIG_SETTINGS=y
|
|
|
|
CONFIG_BT_EXT_ADV=y
|
|
CONFIG_BT_EXT_ADV_LEGACY_SUPPORT=y
|
|
CONFIG_BT_PER_ADV=y
|
|
CONFIG_BT_PER_ADV_SYNC=y
|
|
|
|
CONFIG_BT_USER_DATA_LEN_UPDATE=y
|
|
CONFIG_BT_AUTO_DATA_LEN_UPDATE=y
|
|
|
|
CONFIG_BT_USER_PHY_UPDATE=y
|
|
CONFIG_BT_AUTO_PHY_UPDATE=y
|
|
|
|
CONFIG_BT_ISO_BROADCASTER=y
|
|
CONFIG_BT_ISO_SYNC_RECEIVER=y
|
|
CONFIG_BT_ISO_CENTRAL=y
|
|
CONFIG_BT_ISO_PERIPHERAL=y
|
|
|
|
# Usage:
|
|
# `kernel log-level modulename severity`
|
|
# e.g.,
|
|
#
|
|
# kernel log-level bt_hci_core 0
|
|
# kernel log-level bt_l2cap 2
|
|
# kernel log-level bt_att 4
|
|
CONFIG_LOG_RUNTIME_FILTERING=y
|