mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
fix(ble): Update bt lib for ESP32(2a2631f)
- Support ESP32 BLE GPIO DEBUG
This commit is contained in:
parent
2f9c756d74
commit
162331877c
@ -490,6 +490,15 @@ config BTDM_BLE_VS_QA_SUPPORT
|
|||||||
help
|
help
|
||||||
This enables BLE vendor HCI command and event for QA.
|
This enables BLE vendor HCI command and event for QA.
|
||||||
|
|
||||||
|
config BTDM_CTRL_CONTROLLER_DEBUG_MODE_1
|
||||||
|
bool "Enable Bluetooth controller debugging mode 1 (for internal use only)" if n
|
||||||
|
default n
|
||||||
|
depends on BT_ENABLED
|
||||||
|
help
|
||||||
|
Enables specific debugging features for the Bluetooth controller.
|
||||||
|
This option is strictly for internal debugging purposes and should not be enabled in production environments,
|
||||||
|
as it may impact performance and stability.
|
||||||
|
|
||||||
config BTDM_RESERVE_DRAM
|
config BTDM_RESERVE_DRAM
|
||||||
hex
|
hex
|
||||||
default 0xdb5c if BT_ENABLED
|
default 0xdb5c if BT_ENABLED
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit e847faba2d86e90b5f21d6310bb4723c4e32ba1c
|
Subproject commit 6093909e01930f8cda6f60510f8a412c6d1814e8
|
@ -205,6 +205,16 @@ the adv packet will be discarded until the memory is restored. */
|
|||||||
#define BTDM_BLE_CHAN_ASS_EN (0)
|
#define BTDM_BLE_CHAN_ASS_EN (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_BTDM_CTRL_CONTROLLER_DEBUG_MODE_1
|
||||||
|
#define BTDM_CTRL_CONTROLLER_DEBUG_MODE_1 (1 << 1)
|
||||||
|
#else
|
||||||
|
#define BTDM_CTRL_CONTROLLER_DEBUG_MODE_1 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef BTDM_CTRL_CONTROLLER_DEBUG_FLAG
|
||||||
|
#define BTDM_CTRL_CONTROLLER_DEBUG_FLAG (BTDM_CTRL_CONTROLLER_DEBUG_MODE_1 | CONTROLLER_ADV_LOST_DEBUG_BIT)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_BTDM_BLE_PING_EN)
|
#if defined(CONFIG_BTDM_BLE_PING_EN)
|
||||||
#define BTDM_BLE_PING_EN (CONFIG_BTDM_BLE_PING_EN)
|
#define BTDM_BLE_PING_EN (CONFIG_BTDM_BLE_PING_EN)
|
||||||
#else
|
#else
|
||||||
@ -224,7 +234,7 @@ the adv packet will be discarded until the memory is restored. */
|
|||||||
.normal_adv_size = NORMAL_SCAN_DUPLICATE_CACHE_SIZE, \
|
.normal_adv_size = NORMAL_SCAN_DUPLICATE_CACHE_SIZE, \
|
||||||
.mesh_adv_size = MESH_DUPLICATE_SCAN_CACHE_SIZE, \
|
.mesh_adv_size = MESH_DUPLICATE_SCAN_CACHE_SIZE, \
|
||||||
.send_adv_reserved_size = SCAN_SEND_ADV_RESERVED_SIZE, \
|
.send_adv_reserved_size = SCAN_SEND_ADV_RESERVED_SIZE, \
|
||||||
.controller_debug_flag = CONTROLLER_ADV_LOST_DEBUG_BIT, \
|
.controller_debug_flag = BTDM_CTRL_CONTROLLER_DEBUG_FLAG, \
|
||||||
.mode = BTDM_CONTROLLER_MODE_EFF, \
|
.mode = BTDM_CONTROLLER_MODE_EFF, \
|
||||||
.ble_max_conn = CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF, \
|
.ble_max_conn = CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF, \
|
||||||
.bt_max_acl_conn = CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF, \
|
.bt_max_acl_conn = CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF, \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user