mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
Merge branch 'fix/optimize_ble_example_ci_build_rule_v5.3' into 'release/v5.3'
fix(ble): Optimizied the bluetooth build test rules (v5.3) See merge request espressif/esp-idf!35326
This commit is contained in:
@ -73,26 +73,26 @@ typedef enum {
|
||||
} esp_ble_power_type_t;
|
||||
|
||||
/**
|
||||
* @brief Bluetooth TX power level(index), it's just a index corresponding to power(dbm).
|
||||
* @brief Bluetooth TX power level (index), it's just a index corresponding to power(dBm).
|
||||
*/
|
||||
typedef enum {
|
||||
ESP_PWR_LVL_N24 = 0, /*!< Corresponding to -24dbm */
|
||||
ESP_PWR_LVL_N21 = 1, /*!< Corresponding to -21dbm */
|
||||
ESP_PWR_LVL_N18 = 2, /*!< Corresponding to -18dbm */
|
||||
ESP_PWR_LVL_N15 = 3, /*!< Corresponding to -15dbm */
|
||||
ESP_PWR_LVL_N12 = 4, /*!< Corresponding to -12dbm */
|
||||
ESP_PWR_LVL_N9 = 5, /*!< Corresponding to -9dbm */
|
||||
ESP_PWR_LVL_N6 = 6, /*!< Corresponding to -6dbm */
|
||||
ESP_PWR_LVL_N3 = 7, /*!< Corresponding to -3dbm */
|
||||
ESP_PWR_LVL_N0 = 8, /*!< Corresponding to 0dbm */
|
||||
ESP_PWR_LVL_P3 = 9, /*!< Corresponding to +3dbm */
|
||||
ESP_PWR_LVL_P6 = 10, /*!< Corresponding to +6dbm */
|
||||
ESP_PWR_LVL_P9 = 11, /*!< Corresponding to +9dbm */
|
||||
ESP_PWR_LVL_P12 = 12, /*!< Corresponding to +12dbm */
|
||||
ESP_PWR_LVL_P15 = 13, /*!< Corresponding to +15dbm */
|
||||
ESP_PWR_LVL_P18 = 14, /*!< Corresponding to +18dbm */
|
||||
ESP_PWR_LVL_P20 = 15, /*!< Corresponding to +20dbm */
|
||||
ESP_PWR_LVL_P21 = 15, /*!< Corresponding to +20dbm, this enum variable has been deprecated */
|
||||
ESP_PWR_LVL_N24 = 0, /*!< Corresponding to -24 dBm */
|
||||
ESP_PWR_LVL_N21 = 1, /*!< Corresponding to -21 dBm */
|
||||
ESP_PWR_LVL_N18 = 2, /*!< Corresponding to -18 dBm */
|
||||
ESP_PWR_LVL_N15 = 3, /*!< Corresponding to -15 dBm */
|
||||
ESP_PWR_LVL_N12 = 4, /*!< Corresponding to -12 dBm */
|
||||
ESP_PWR_LVL_N9 = 5, /*!< Corresponding to -9 dBm */
|
||||
ESP_PWR_LVL_N6 = 6, /*!< Corresponding to -6 dBm */
|
||||
ESP_PWR_LVL_N3 = 7, /*!< Corresponding to -3 dBm */
|
||||
ESP_PWR_LVL_N0 = 8, /*!< Corresponding to 0 dBm */
|
||||
ESP_PWR_LVL_P3 = 9, /*!< Corresponding to +3 dBm */
|
||||
ESP_PWR_LVL_P6 = 10, /*!< Corresponding to +6 dBm */
|
||||
ESP_PWR_LVL_P9 = 11, /*!< Corresponding to +9 dBm */
|
||||
ESP_PWR_LVL_P12 = 12, /*!< Corresponding to +12 dBm */
|
||||
ESP_PWR_LVL_P15 = 13, /*!< Corresponding to +15 dBm */
|
||||
ESP_PWR_LVL_P18 = 14, /*!< Corresponding to +18 dBm */
|
||||
ESP_PWR_LVL_P20 = 15, /*!< Corresponding to +20 dBm */
|
||||
ESP_PWR_LVL_P21 = 15, /*!< Corresponding to +20 dBm, this enum variable has been deprecated */
|
||||
ESP_PWR_LVL_INVALID = 0xFF, /*!< Indicates an invalid value */
|
||||
} esp_power_level_t;
|
||||
|
||||
|
@ -19,31 +19,54 @@ examples/bluetooth/bluedroid/ble:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BT_SUPPORTED != 1
|
||||
depends_components+:
|
||||
- esp_console
|
||||
- esp_driver_gpio
|
||||
- esp_driver_i2s
|
||||
- esp_driver_uart
|
||||
|
||||
|
||||
examples/bluetooth/bluedroid/ble/ble_hid_device_demo:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BT_SUPPORTED != 1
|
||||
depends_components:
|
||||
depends_components+:
|
||||
- esp_driver_gpio
|
||||
|
||||
examples/bluetooth/bluedroid/ble/ble_throughput:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_SUPPORTED != 1
|
||||
depends_components+:
|
||||
- esp_console
|
||||
- esp_driver_gpio
|
||||
- esp_driver_i2s
|
||||
- esp_driver_uart
|
||||
|
||||
|
||||
examples/bluetooth/bluedroid/ble_50:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_50_SUPPORTED != 1
|
||||
depends_components+:
|
||||
- esp_console
|
||||
- esp_driver_gpio
|
||||
- esp_driver_i2s
|
||||
- esp_driver_uart
|
||||
|
||||
examples/bluetooth/bluedroid/classic_bt:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BT_CLASSIC_SUPPORTED != 1
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
depends_components+:
|
||||
- nvs_flash
|
||||
- esp_log
|
||||
- esp_console
|
||||
- vfs
|
||||
- esp_driver_gpio
|
||||
- esp_driver_i2s
|
||||
- esp_driver_uart
|
||||
depends_components-:
|
||||
- mbedtls
|
||||
depends_filepatterns:
|
||||
- components/driver/dac/**/*
|
||||
- examples/bluetooth/bluedroid/esp_hid_host/**/*
|
||||
@ -56,73 +79,72 @@ examples/bluetooth/bluedroid/coex/a2dp_gatts_coex:
|
||||
- if: IDF_TARGET != "esp32"
|
||||
temporary: true
|
||||
reason: the other targets are not tested yet
|
||||
depends_components:
|
||||
depends_components+:
|
||||
- esp_driver_i2s
|
||||
depends_filepatterns:
|
||||
- components/driver/dac/**/*
|
||||
|
||||
examples/bluetooth/blufi:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BT_SUPPORTED != 1
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
- nvs_flash
|
||||
- esp_log
|
||||
depends_components+:
|
||||
- esp_console
|
||||
- vfs
|
||||
- esp_wifi
|
||||
- esp_event
|
||||
- mbedtls
|
||||
|
||||
examples/bluetooth/esp_ble_mesh:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_MESH_SUPPORTED != 1
|
||||
# limit build configs
|
||||
- if: CI_COMMIT_REF_NAME == "master" and (NIGHTLY_RUN == 0 and CONFIG_NAME not in ["default", "bluedroid", "nimble"])
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
depends_components+:
|
||||
- esp_console
|
||||
- vfs
|
||||
- mbedtls
|
||||
- touch_element
|
||||
- esp_driver_gpio
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/esp_ble_mesh/common_components/**/*
|
||||
|
||||
examples/bluetooth/esp_ble_mesh/wifi_coexist:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_MESH_SUPPORTED != 1
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
- esp_console
|
||||
- vfs
|
||||
- mbedtls
|
||||
- esp_coex
|
||||
- esp_wifi
|
||||
- esp_netif
|
||||
- esp_driver_gpio
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/esp_ble_mesh/common_components/**/*
|
||||
|
||||
examples/bluetooth/esp_hid_device:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BT_SUPPORTED != 1
|
||||
depends_components+:
|
||||
- esp_hid
|
||||
|
||||
examples/bluetooth/esp_hid_host:
|
||||
<<: *bt_default_depends
|
||||
disable_test:
|
||||
- if: IDF_TARGET in ["esp32c2", "esp32c3", "esp32c5", "esp32c6", "esp32h2", "esp32s3"]
|
||||
- if: IDF_TARGET != "esp32"
|
||||
temporary: true
|
||||
reason: temporarily test esp32
|
||||
disable:
|
||||
- if: SOC_BT_SUPPORTED != 1
|
||||
depends_components+:
|
||||
- esp_hid
|
||||
|
||||
examples/bluetooth/hci:
|
||||
examples/bluetooth/hci/ble_adv_scan_combined:
|
||||
<<: *bt_default_depends
|
||||
enable:
|
||||
- if: IDF_TARGET == "esp32"
|
||||
temporary: true
|
||||
reason: the other targets are not tested yet
|
||||
disable:
|
||||
- if: SOC_BLE_SUPPORTED != 1
|
||||
depends_components+:
|
||||
- esp_driver_uart
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/hci/hci_common_component/**/*
|
||||
|
||||
@ -130,15 +152,21 @@ examples/bluetooth/hci/controller_hci_uart_esp32:
|
||||
<<: *bt_default_depends
|
||||
enable:
|
||||
- if: IDF_TARGET == "esp32"
|
||||
depends_components:
|
||||
depends_components+:
|
||||
- esp_driver_uart
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/hci/hci_common_component/**/*
|
||||
|
||||
|
||||
examples/bluetooth/hci/controller_hci_uart_esp32c3_and_esp32s3:
|
||||
<<: *bt_default_depends
|
||||
enable:
|
||||
- if: IDF_TARGET in ["esp32c3", "esp32s3"]
|
||||
depends_components:
|
||||
depends_components+:
|
||||
- esp_driver_uart
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/hci/hci_common_component/**/*
|
||||
|
||||
|
||||
|
||||
# config BT_NIMBLE_ENABLED does not depends on any soc cap
|
||||
@ -210,11 +238,7 @@ examples/bluetooth/nimble/blecent:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_SUPPORTED != 1
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
- esp_event
|
||||
- esp_coex
|
||||
depends_components+:
|
||||
- esp_pm
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/nimble/common/**/*
|
||||
@ -232,17 +256,14 @@ examples/bluetooth/nimble/blemesh:
|
||||
- examples/bluetooth/nimble/common/**/*
|
||||
|
||||
examples/bluetooth/nimble/bleprph_wifi_coex:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_SUPPORTED != 1
|
||||
- if: SOC_WIFI_SUPPORTED != 1
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
depends_components+:
|
||||
- esp_event
|
||||
- esp_hid
|
||||
- esp_wifi
|
||||
- esp_coex
|
||||
- nvs_flash
|
||||
- lwip
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/nimble/common/**/*
|
||||
@ -258,11 +279,8 @@ examples/bluetooth/nimble/power_save:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_SUPPORTED != 1
|
||||
depends_components:
|
||||
- bt
|
||||
- esp_phy
|
||||
depends_components+:
|
||||
- esp_event
|
||||
- esp_coex
|
||||
- esp_pm
|
||||
depends_filepatterns:
|
||||
- examples/bluetooth/nimble/common/**/*
|
||||
@ -274,7 +292,7 @@ examples/bluetooth/nimble/throughput_app:
|
||||
<<: *bt_default_depends
|
||||
disable:
|
||||
- if: SOC_BLE_SUPPORTED != 1
|
||||
depends_components:
|
||||
depends_components+:
|
||||
- esp_driver_gpio
|
||||
- esp_driver_uart
|
||||
depends_filepatterns:
|
||||
|
@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 |
|
||||
| ----------------- | ----- |
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
|
||||
ESP-IDF Combined Bluetooth advertising and scanning
|
||||
===================================================
|
||||
|
@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 |
|
||||
| ----------------- | ----- |
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
|
||||
ESP-IDF VHCI ble_advertising app
|
||||
================================
|
||||
|
Reference in New Issue
Block a user