diff --git a/components/bt/common/Kconfig.in b/components/bt/common/Kconfig.in index 571070eccd5..06599d9d41a 100644 --- a/components/bt/common/Kconfig.in +++ b/components/bt/common/Kconfig.in @@ -175,7 +175,6 @@ menu "BT Logs" menuconfig BT_LOG_CRITICAL_ONLY bool "Enable bandwidth-optimized log mode (critical logs only)" default n - depends on !BT_STACK_NO_LOG select BLE_LOG_ENABLED help Enable bandwidth-optimized logging for the BLE Log Async Output diff --git a/components/bt/host/bluedroid/Kconfig.in b/components/bt/host/bluedroid/Kconfig.in index 14355519d34..5e9765cd36e 100644 --- a/components/bt/host/bluedroid/Kconfig.in +++ b/components/bt/host/bluedroid/Kconfig.in @@ -580,6 +580,7 @@ endmenu #BT debug option config BT_STACK_NO_LOG bool "Disable BT debug logs (minimize bin size)" depends on BT_BLUEDROID_ENABLED + default y if BLE_LOG_ENABLED && !BLE_LOG_HOST_LOG default n help This select can save the rodata code size