soc: espressif: set BLE HCI buffer defaults

Set default values for BLE HCI buffer configuration that match
the ESP32 controller requirements:
- BT_BUF_ACL_RX_COUNT=24: Match controller's ACL buffer count
- BT_BUF_EVT_RX_COUNT=30: Match controller's event buffer count

Enable BT HCI node in device tree for all ESP32 SoCs that
support BLE.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves
2025-12-23 17:52:08 -03:00
committed by Maureen Helm
parent 06890c3f92
commit c94930c6c9
7 changed files with 27 additions and 0 deletions

View File

@@ -53,6 +53,7 @@
esp32_bt_hci: esp32_bt_hci {
compatible = "espressif,esp32-bt-hci";
bt-hci-vs-ext;
status = "disabled";
};

View File

@@ -71,6 +71,7 @@
esp32_bt_hci: esp32_bt_hci {
compatible = "espressif,esp32-bt-hci";
bt-hci-vs-ext;
status = "disabled";
};

View File

@@ -66,6 +66,7 @@
esp32_bt_hci: esp32_bt_hci {
compatible = "espressif,esp32-bt-hci";
bt-hci-vs-ext;
status = "disabled";
};

View File

@@ -74,6 +74,7 @@
esp32_bt_hci: esp32_bt_hci {
compatible = "espressif,esp32-bt-hci";
bt-hci-vs-ext;
status = "disabled";
};

View File

@@ -70,6 +70,7 @@
esp32_bt_hci: esp32_bt_hci {
compatible = "espressif,esp32-bt-hci";
bt-hci-vs-ext;
status = "disabled";
};

View File

@@ -22,6 +22,7 @@
zephyr,canbus = &twai;
zephyr,entropy = &trng0;
zephyr,flash-controller = &flash;
zephyr,bt-hci = &esp32_bt_hci;
};
cpus {
@@ -71,6 +72,7 @@
esp32_bt_hci: esp32_bt_hci {
compatible = "espressif,esp32-bt-hci";
bt-hci-vs-ext;
status = "disabled";
};

View File

@@ -52,6 +52,16 @@ config ROM_START_OFFSET
endif # BOOTLOADER_MCUBOOT
if BT_ESP32
config BT_BUF_ACL_TX_COUNT
default 10
config BT_BUF_EVT_RX_COUNT
default 20
endif # BT_ESP32
endif # SOC_SERIES_ESP32C2 || SOC_SERIES_ESP32C3 || SOC_SERIES_ESP32C6 || SOC_SERIES_ESP32H2
if SOC_SERIES_ESP32 || SOC_SERIES_ESP32S2 || SOC_SERIES_ESP32S3
@@ -94,4 +104,14 @@ config ROM_START_OFFSET
endif # BOOTLOADER_MCUBOOT
if BT_ESP32
config BT_BUF_ACL_TX_COUNT
default 10
config BT_BUF_EVT_RX_COUNT
default 20
endif # BT_ESP32
endif # SOC_SERIES_ESP32 || SOC_SERIES_ESP32S2 || SOC_SERIES_ESP32S3