feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2

This commit is contained in:
Shen Weilong
2025-03-10 20:34:36 +08:00
parent 612b920eb1
commit ac2b67d6c5
6 changed files with 22 additions and 4 deletions

View File

@@ -198,6 +198,12 @@ extern "C" {
#define HCI_UART_EN 0 // hci ram mode
#endif
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_RAM
#define DEFAULT_BT_LE_VHCI_ENABLED (CONFIG_BT_LE_HCI_INTERFACE_USE_RAM)
#else
#define DEFAULT_BT_LE_VHCI_ENABLED (0)
#endif
#ifdef CONFIG_BT_LE_SLEEP_ENABLE
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_LE_SLEEP_ENABLE
#else