From 093a5210486068eb666919cec9424d98c1fd25a7 Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Wed, 22 Apr 2026 19:27:19 +0800 Subject: [PATCH] feat(ble): Supported blufi on esp32s31 --- components/soc/esp32s31/include/soc/Kconfig.soc_caps.in | 4 ++++ components/soc/esp32s31/include/soc/soc_caps.h | 2 +- examples/bluetooth/blufi/README.md | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in b/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in index 14800b09034..2976c50975f 100644 --- a/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in @@ -1235,6 +1235,10 @@ config SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED bool default y +config SOC_BLUFI_SUPPORTED + bool + default y + config SOC_BLE_CTE_SUPPORTED bool default y diff --git a/components/soc/esp32s31/include/soc/soc_caps.h b/components/soc/esp32s31/include/soc/soc_caps.h index 7b45d31de55..e4690b6d94f 100644 --- a/components/soc/esp32s31/include/soc/soc_caps.h +++ b/components/soc/esp32s31/include/soc/soc_caps.h @@ -510,7 +510,7 @@ #define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */ #define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */ #define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */ -// #define SOC_BLUFI_SUPPORTED (1) // TODO: enable this feature coexistence is supported +#define SOC_BLUFI_SUPPORTED (1) /*!< Support BLUFI */ #define SOC_BLE_CTE_SUPPORTED (1) /*!< Support Bluetooth LE Constant Tone Extension (CTE) */ #define SOC_BLE_SUBRATE_SUPPORTED (1) /*!< Support Bluetooth LE Connection Subrating */ #define SOC_BLE_PERIODIC_ADV_WITH_RESPONSE (1) /*!< Support Bluetooth LE Periodic Advertising with Response (PAwR) */ diff --git a/examples/bluetooth/blufi/README.md b/examples/bluetooth/blufi/README.md index 6534187eb95..e99f8ad8a08 100644 --- a/examples/bluetooth/blufi/README.md +++ b/examples/bluetooth/blufi/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S3 | ESP32-S31 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | # ESP-IDF Blufi Example