mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
change(ble/bluedroid): disable host trace logs when BLE Log host is off
Default all Bluedroid layer trace levels to NONE when BLE async log
is enabled without BLE_LOG_HOST_LOG.
(cherry picked from commit 1f8f935e3f)
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
@@ -160,7 +160,6 @@ menu "BT Logs"
|
|||||||
menuconfig BT_LOG_CRITICAL_ONLY
|
menuconfig BT_LOG_CRITICAL_ONLY
|
||||||
bool "Enable bandwidth-optimized log mode (critical logs only)"
|
bool "Enable bandwidth-optimized log mode (critical logs only)"
|
||||||
default n
|
default n
|
||||||
depends on !BT_STACK_NO_LOG
|
|
||||||
select BLE_LOG_ENABLED
|
select BLE_LOG_ENABLED
|
||||||
help
|
help
|
||||||
Enable bandwidth-optimized logging for the BLE Log Async Output
|
Enable bandwidth-optimized logging for the BLE Log Async Output
|
||||||
|
|||||||
@@ -562,6 +562,7 @@ endmenu #BT debug option
|
|||||||
config BT_STACK_NO_LOG
|
config BT_STACK_NO_LOG
|
||||||
bool "Disable BT debug logs (minimize bin size)"
|
bool "Disable BT debug logs (minimize bin size)"
|
||||||
depends on BT_BLUEDROID_ENABLED
|
depends on BT_BLUEDROID_ENABLED
|
||||||
|
default y if BLE_LOG_ENABLED && !BLE_LOG_HOST_LOG
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This select can save the rodata code size
|
This select can save the rodata code size
|
||||||
|
|||||||
Reference in New Issue
Block a user