Skip to content

Commit 7847a82

Browse files
author
Zhou Xiao
committed
change(ble): resupport ble for ESP32C61ECO3
1 parent c10d3ac commit 7847a82

File tree

73 files changed

+201
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+201
-155
lines changed

components/soc/esp32c61/include/soc/Kconfig.soc_caps.in

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ config SOC_GPTIMER_SUPPORTED
3131
bool
3232
default y
3333

34+
config SOC_BT_SUPPORTED
35+
bool
36+
default y
37+
3438
config SOC_USB_SERIAL_JTAG_SUPPORTED
3539
bool
3640
default y
@@ -43,6 +47,10 @@ config SOC_TEMP_SENSOR_SUPPORTED
4347
bool
4448
default y
4549

50+
config SOC_PHY_SUPPORTED
51+
bool
52+
default y
53+
4654
config SOC_SUPPORTS_SECURE_DL_MODE
4755
bool
4856
default y
@@ -1210,3 +1218,43 @@ config SOC_TEMPERATURE_SENSOR_SUPPORT_SLEEP_RETENTION
12101218
config SOC_TEMPERATURE_SENSOR_UNDER_PD_TOP_DOMAIN
12111219
bool
12121220
default y
1221+
1222+
config SOC_BLE_SUPPORTED
1223+
bool
1224+
default y
1225+
1226+
config SOC_ESP_NIMBLE_CONTROLLER
1227+
bool
1228+
default y
1229+
1230+
config SOC_BLE_50_SUPPORTED
1231+
bool
1232+
default y
1233+
1234+
config SOC_BLE_DEVICE_PRIVACY_SUPPORTED
1235+
bool
1236+
default y
1237+
1238+
config SOC_BLE_POWER_CONTROL_SUPPORTED
1239+
bool
1240+
default y
1241+
1242+
config SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED
1243+
bool
1244+
default y
1245+
1246+
config SOC_BLUFI_SUPPORTED
1247+
bool
1248+
default y
1249+
1250+
config SOC_BLE_MULTI_CONN_OPTIMIZATION
1251+
bool
1252+
default y
1253+
1254+
config SOC_BLE_CTE_SUPPORTED
1255+
bool
1256+
default y
1257+
1258+
config SOC_PHY_COMBO_MODULE
1259+
bool
1260+
default y

components/soc/esp32c61/include/soc/soc_caps.h

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
#define SOC_GDMA_SUPPORTED 1
2525
#define SOC_AHB_GDMA_SUPPORTED 1
2626
#define SOC_GPTIMER_SUPPORTED 1
27-
// #define SOC_BT_SUPPORTED 1 // TODO: IDF-13139, re-enable for c61 eco3
27+
#define SOC_BT_SUPPORTED 1
2828
// \#define SOC_IEEE802154_SUPPORTED 1
2929
#define SOC_USB_SERIAL_JTAG_SUPPORTED 1
3030
#define SOC_ASYNC_MEMCPY_SUPPORTED 1
3131
#define SOC_TEMP_SENSOR_SUPPORTED 1
32-
// #define SOC_PHY_SUPPORTED 1 //TODO: IDF-13141, re-open for c61 eco3
32+
#define SOC_PHY_SUPPORTED 1
3333
// #define SOC_WIFI_SUPPORTED 1 //TODO: IDF-13138, re-open on c61 eco3
3434
#define SOC_SUPPORTS_SECURE_DL_MODE 1
3535
#define SOC_EFUSE_KEY_PURPOSE_FIELD 1
@@ -512,20 +512,19 @@
512512
// #define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
513513

514514
// /*---------------------------------- Bluetooth CAPS ----------------------------------*/
515-
// TODO: IDF-13139, re-enable for c61 eco3
516-
// #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
515+
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
517516
// #define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
518-
// #define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */
519-
// #define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
520-
// #define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
521-
// #define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
522-
// #define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
523-
// #define SOC_BLUFI_SUPPORTED (1) /*!< Support BLUFI */
524-
// #define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
525-
// #define SOC_BLE_CTE_SUPPORTED (1) /*!< Support Bluetooth LE Constant Tone Extension (CTE) */
517+
#define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */
518+
#define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
519+
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
520+
#define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
521+
#define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
522+
#define SOC_BLUFI_SUPPORTED (1) /*!< Support BLUFI */
523+
#define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
524+
#define SOC_BLE_CTE_SUPPORTED (1) /*!< Support Bluetooth LE Constant Tone Extension (CTE) */
526525

527526
/*------------------------------------- PHY CAPS -------------------------------------*/
528-
// #define SOC_PHY_COMBO_MODULE (1) /*!< Support Wi-Fi, BLE and 15.4*/
527+
#define SOC_PHY_COMBO_MODULE (1) /*!< Support Wi-Fi, BLE and 15.4*/
529528

530529
/*------------------------------------- No Reset CAPS -------------------------------------*/
531530
// \#define SOC_CAPS_NO_RESET_BY_ANA_BOD (1) //TODO: [ESP32C61] IDF-9254

docs/doxygen/Doxyfile_esp32c61

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
INPUT += \
22
$(PROJECT_PATH)/components/esp_wifi/include/esp_wifi_he_types.h \
33
$(PROJECT_PATH)/components/esp_wifi/include/esp_wifi_he.h \
4-
# //TODO: IDF-13141, re-open for c61 eco3
5-
# $(PROJECT_PATH)/components/bt/include/esp32c6/include/esp_bt.h \
6-
# $(PROJECT_PATH)/components/bt/include/esp32c6/include/esp_bt_vs.h \
4+
$(PROJECT_PATH)/components/bt/include/esp32c6/include/esp_bt.h \
5+
$(PROJECT_PATH)/components/bt/include/esp32c6/include/esp_bt_vs.h \

examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Beacon/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# Bluedroid Beacon Example
55

examples/bluetooth/ble_get_started/bluedroid/Bluedroid_Connection/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# Bluedroid Connection Example
55

examples/bluetooth/ble_get_started/bluedroid/Bluedroid_GATT_Server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# Bluedroid GATT Server Example
55

examples/bluetooth/ble_get_started/nimble/NimBLE_Beacon/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# NimBLE Beacon Example
55

examples/bluetooth/ble_get_started/nimble/NimBLE_Connection/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# NimBLE Connection Example
55

examples/bluetooth/ble_get_started/nimble/NimBLE_GATT_Server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
33

44
# NimBLE GATT Server Example
55

0 commit comments

Comments
 (0)